qodana.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. version: "1.0"
  2. linter: jetbrains/qodana-php:2023.1-eap
  3. failThreshold: 20000
  4. profile:
  5. name: qodana.recommended
  6. exclude:
  7. - name: All
  8. paths:
  9. - dev
  10. - build
  11. - doc
  12. - documents
  13. - node_modules
  14. - test
  15. - htdocs/custom
  16. - htdocs/includes
  17. - htdocs/install/doctemplates
  18. - htdocs/modulebuilder/template/test/phpunit/functionnal
  19. - htdocs/theme/common/fontawesome-5
  20. - name: BadExpressionStatementJS
  21. - name: CommaExpressionJS
  22. - name: DuplicatedCode
  23. - name: HtmlWrongAttributeValue
  24. - name: JSCheckFunctionSignatures
  25. - name: JSDuplicatedDeclaration
  26. - name: JSEqualityComparisonWithCoercion
  27. - name: JSHint
  28. - name: JSIgnoredPromiseFromCall
  29. - name: JSJQueryEfficiency
  30. - name: JSPrimitiveTypeWrapperUsage
  31. - name: JSTypeOfValues
  32. - name: JSUnnecessarySemicolon
  33. - name: JSUnresolvedLibraryURL
  34. - name: JSUnusedAssignment
  35. - name: JSUnusedLocalSymbols
  36. - name: JSValidateTypes
  37. - name: PhpArrayAccessCanBeReplacedWithForeachValueInspection
  38. - name: PhpArrayIndexImmediatelyRewrittenInspection
  39. - name: PhpArrayIsAlwaysEmptyInspection
  40. - name: PhpArrayPushWithOneElementInspection
  41. - name: PhpArraySearchInBooleanContextInspection
  42. - name: PhpArrayUsedOnlyForWriteInspection
  43. - name: PhpArrayWriteIsNotUsedInspection
  44. - name: PhpCastIsUnnecessaryInspection
  45. - name: PhpClassConstantAccessedViaChildClassInspection
  46. - name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
  47. - name: PhpConditionAlreadyCheckedInspection
  48. - name: PhpConditionCanBeReplacedWithMinMaxCallInspection
  49. - name: PhpConditionCheckedByNextConditionInspection
  50. - name: PhpCoveredCharacterInClassInspection
  51. - name: PhpDefineCanBeReplacedWithConstInspection
  52. - name: PhpDeprecationInspection
  53. - name: PhpDocMissingThrowsInspection
  54. - name: PhpDuplicateCatchBodyInspection
  55. - name: PhpDuplicateSwitchCaseBodyInspection
  56. - name: PhpExpressionAlwaysNullInspection
  57. - name: PhpExpressionResultUnusedInspection
  58. - name: PhpExpressionWithSameOperandsInspection
  59. - name: PhpFieldImmediatelyRewrittenInspection
  60. - name: PhpFullyQualifiedNameUsageInspection
  61. - name: PhpIfWithCommonPartsInspection
  62. - name: PhpIllegalStringOffsetInspection
  63. - name: PhpInArrayCanBeReplacedWithComparisonInspection
  64. - name: PhpIncludeInspection
  65. - name: PhpIssetCanBeReplacedWithCoalesceInspection
  66. - name: PhpIssetCanCheckNestedAccessDirectlyInspection
  67. - name: PhpLanguageLevelInspection
  68. - name: PhpLoopCanBeReplacedWithImplodeInspection
  69. - name: PhpLoopCanBeReplacedWithStrRepeatInspection
  70. - name: PhpMissingParamTypeInspection
  71. - name: PhpMissingParentConstructorInspection
  72. - name: PhpMissingReturnTypeInspection
  73. - name: PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection
  74. - name: PhpObjectFieldsAreOnlyWrittenInspection
  75. - name: PhpParameterByRefIsNotUsedAsReferenceInspection
  76. - name: PhpParameterNameChangedDuringInheritanceInspection
  77. - name: PhpPointlessBooleanExpressionInConditionInspection
  78. - name: PhpPossiblePolymorphicInvocationInspection
  79. - name: PhpPregMatchReplaceWithComparisonInspection
  80. - name: PhpPregReplaceWithEmptyReplacementInspection
  81. - name: PhpPropertyOnlyWrittenInspection
  82. - name: PhpRedundantCatchClauseInspection
  83. - name: PhpRedundantOptionalArgumentInspection
  84. - name: PhpRedundantVariableDocTypeInspection
  85. - name: PhpRegExpRedundantModifierInspection
  86. - name: PhpReturnDocTypeMismatchInspection
  87. - name: PhpReturnValueOfMethodIsNeverUsedInspection
  88. - name: PhpSameParameterValueInspection
  89. - name: PhpSillyAssignmentInspection
  90. - name: PhpStatementHasEmptyBodyInspection
  91. - name: PhpSuspiciousNameCombinationInspection
  92. - name: PhpSwitchStatementWitSingleBranchInspection
  93. - name: PhpSwitchWithCommonPartsInspection
  94. - name: PhpTernaryExpressionCanBeReducedToShortVersionInspection
  95. - name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
  96. - name: PhpUndefinedClassConstantInspection
  97. - name: PhpUndefinedClassInspection
  98. - name: PhpUndefinedMethodInspection
  99. - name: PhpUndefinedNamespaceInspection
  100. - name: PhpUnhandledExceptionInspection
  101. - name: PhpUnnecessaryLocalVariableInspection
  102. - name: PhpUnusedAliasInspection
  103. - name: PhpUnusedAliasInspection
  104. - name: PhpUnusedLocalVariableInspection
  105. - name: PhpUnusedParameterInspection
  106. - name: PhpUnusedPrivateFieldInspection
  107. - name: PhpUnusedPrivateMethodInspection
  108. - name: PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection
  109. - name: PhpWrongForeachArgumentTypeInspection
  110. - name: PhpWrongStringConcatenationInspection
  111. - name: RegExpRedundantEscape
  112. - name: RegExpSimplifiable
  113. - name: RegExpSingleCharAlternation
  114. - name: RegExpUnnecessaryNonCapturingGroup
  115. - name: ReservedWordUsedAsNameJS
  116. - name: TrivialIfJS
  117. - name: UnnecessaryLabelJS
  118. - name: UnnecessaryReturnJS
  119. - name: UnreachableCodeJS