qodana.yaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. version: "1.0"
  2. linter: jetbrains/qodana-php:2022.3-eap
  3. failThreshold: 0
  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/functionnal
  19. - name: PhpIssetCanBeReplacedWithCoalesceInspection
  20. - name: PhpRedundantOptionalArgumentInspection
  21. - name: PhpLanguageLevelInspection
  22. - name: PhpIncludeInspection
  23. - name: HtmlWrongAttributeValue
  24. - name: PhpUndefinedClassConstantInspection
  25. - name: RegExpRedundantEscape
  26. - name: PhpUnnecessaryLocalVariableInspection
  27. - name: PhpUnusedParameterInspection
  28. - name: PhpUnusedLocalVariableInspection
  29. - name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
  30. - name: PhpSwitchStatementWitSingleBranchInspection
  31. - name: PhpLoopCanBeReplacedWithImplodeInspection
  32. - name: PhpArrayAccessCanBeReplacedWithForeachValueInspection
  33. - name: PhpArrayPushWithOneElementInspection
  34. - name: PhpCastIsUnnecessaryInspection
  35. - name: PhpDeprecationInspection
  36. - name: PhpStatementHasEmptyBodyInspection
  37. - name: PhpConditionAlreadyCheckedInspection
  38. - name: PhpExpressionResultUnusedInspection
  39. - name: PhpUndefinedClassInspection
  40. - name: RegExpSimplifiable
  41. - name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
  42. - name: PhpConditionCanBeReplacedWithMinMaxCallInspection
  43. - name: PhpArrayIsAlwaysEmptyInspection
  44. - name: PhpParameterByRefIsNotUsedAsReferenceInspection
  45. - name: PhpWrongStringConcatenationInspection
  46. - name: PhpUnusedAliasInspection
  47. - name: PhpUnusedPrivateMethodInspection
  48. - name: PhpUnusedPrivateFieldInspection
  49. - name: PhpExpressionAlwaysNullInspection
  50. - name: PhpIfWithCommonPartsInspection
  51. - name: PhpTernaryExpressionCanBeReducedToShortVersionInspection
  52. - name: PhpExpressionWithSameOperandsInspection
  53. - name: PhpInArrayCanBeReplacedWithComparisonInspection
  54. - name: PhpUnusedAliasInspection
  55. - name: PhpPossiblePolymorphicInvocationInspection
  56. - name: PhpReturnValueOfMethodIsNeverUsedInspection
  57. - name: PhpPregReplaceWithEmptyReplacementInspection
  58. - name: PhpFieldImmediatelyRewrittenInspection
  59. - name: PhpIllegalStringOffsetInspection
  60. - name: PhpWrongForeachArgumentTypeInspection
  61. - name: PhpRegExpRedundantModifierInspection
  62. - name: PhpClassConstantAccessedViaChildClassInspection
  63. - name: RegExpUnnecessaryNonCapturingGroup
  64. - name: PhpPregMatchReplaceWithComparisonInspection
  65. - name: PhpArrayWriteIsNotUsedInspection
  66. - name: PhpUndefinedNamespaceInspection
  67. - name: PhpArraySearchInBooleanContextInspection
  68. - name: PhpLoopCanBeReplacedWithStrRepeatInspection
  69. - name: PhpPropertyOnlyWrittenInspection
  70. - name: PhpCoveredCharacterInClassInspection
  71. - name: PhpSameParameterValueInspection
  72. - name: PhpSillyAssignmentInspection
  73. - name: PhpConditionCheckedByNextConditionInspection
  74. - name: RegExpSingleCharAlternation
  75. - name: PhpSuspiciousNameCombinationInspection
  76. - name: PhpObjectFieldsAreOnlyWrittenInspection
  77. - name: PhpMissingParentConstructorInspection
  78. - name: PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection
  79. - name: PhpArrayUsedOnlyForWriteInspection
  80. - name: PhpArrayIndexImmediatelyRewrittenInspection
  81. - name: PhpParameterNameChangedDuringInheritanceInspection
  82. - name: PhpDuplicateSwitchCaseBodyInspection
  83. - name: PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection
  84. - name: PhpPointlessBooleanExpressionInConditionInspection
  85. - name: PhpUndefinedMethodInspection