qodana.yaml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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
  67. - name: PhpLoopCanBeReplacedWithStrRepeatInspection
  68. - name: PhpPropertyOnlyWrittenInspection
  69. - name: PhpCoveredCharacterInClassInspection
  70. - name: PhpSameParameterValueInspection
  71. - name: PhpSillyAssignmentInspection
  72. - name: PhpConditionCheckedByNextConditionInspection
  73. - name: RegExpSingleCharAlternation
  74. - name: PhpSuspiciousNameCombinationInspection
  75. - name: PhpObjectFieldsAreOnlyWrittenInspection
  76. - name: PhpMissingParentConstructorInspection
  77. - name: PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection
  78. - name: PhpArrayUsedOnlyForWriteInspection
  79. - name: PhpArrayIndexImmediatelyRewrittenInspection
  80. - name: PhpParameterNameChangedDuringInheritanceInspection
  81. - name: PhpDuplicateSwitchCaseBodyInspection