qodana.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. - name: PhpIssetCanBeReplacedWithCoalesceInspection
  19. - name: PhpRedundantOptionalArgumentInspection
  20. - name: PhpLanguageLevelInspection
  21. - name: PhpIncludeInspection
  22. - name: HtmlWrongAttributeValue
  23. - name: PhpUndefinedClassConstantInspection
  24. - name: RegExpRedundantEscape
  25. - name: PhpUnnecessaryLocalVariableInspection
  26. - name: PhpUnusedParameterInspection
  27. - name: PhpUnusedLocalVariableInspection
  28. - name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
  29. - name: PhpSwitchStatementWitSingleBranchInspection
  30. - name: PhpLoopCanBeReplacedWithImplodeInspection
  31. - name: PhpArrayAccessCanBeReplacedWithForeachValueInspection
  32. - name: PhpArrayPushWithOneElementInspection
  33. - name: PhpCastIsUnnecessaryInspection
  34. - name: PhpDeprecationInspection
  35. - name: PhpStatementHasEmptyBodyInspection
  36. - name: PhpConditionAlreadyCheckedInspection
  37. - name: PhpExpressionResultUnusedInspection
  38. - name: PhpUndefinedClassInspection
  39. - name: RegExpSimplifiable
  40. - name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
  41. - name: PhpConditionCanBeReplacedWithMinMaxCallInspection
  42. - name: PhpArrayIsAlwaysEmptyInspection
  43. - name: PhpParameterByRefIsNotUsedAsReferenceInspection
  44. - name: PhpWrongStringConcatenationInspection
  45. - name: PhpUnusedAliasInspection
  46. - name: PhpUnusedPrivateMethodInspection
  47. - name: PhpUnusedPrivateFieldInspection
  48. - name: PhpExpressionAlwaysNullInspection
  49. - name: PhpIfWithCommonPartsInspection
  50. - name: PhpTernaryExpressionCanBeReducedToShortVersionInspection
  51. - name: PhpExpressionWithSameOperandsInspection
  52. - name: PhpInArrayCanBeReplacedWithComparisonInspection
  53. - name: PhpUnusedAliasInspection
  54. - name: PhpPossiblePolymorphicInvocationInspection
  55. - name: PhpReturnValueOfMethodIsNeverUsedInspection
  56. - name: PhpPregReplaceWithEmptyReplacementInspection
  57. - name: PhpFieldImmediatelyRewrittenInspection
  58. - name: PhpIllegalStringOffsetInspection
  59. - name: PhpWrongForeachArgumentTypeInspection
  60. - name: PhpRegExpRedundantModifierInspection
  61. - name: PhpClassConstantAccessedViaChildClassInspection
  62. - name: RegExpUnnecessaryNonCapturingGroup
  63. - name: PhpPregMatchReplaceWithComparisonInspection
  64. - name: PhpArrayWriteIsNotUsedInspection
  65. - name: PhpUndefinedNamespaceInspection
  66. - name: PhpArraySearchInBooleanContextInspection