version: "1.0"
linter: jetbrains/qodana-php:2023.1-eap
failThreshold: 20000
profile:
  name: qodana.recommended
exclude:
  - name: All
    paths:
      - dev
      - build
      - doc
      - documents
      - node_modules
      - test
      - htdocs/custom
      - htdocs/includes
      - htdocs/install/doctemplates
      - htdocs/modulebuilder/template/test/phpunit/functionnal
      - htdocs/theme/common/fontawesome-5
  - name: PhpIssetCanBeReplacedWithCoalesceInspection
  - name: PhpRedundantOptionalArgumentInspection
  - name: PhpLanguageLevelInspection
  - name: PhpIncludeInspection
  - name: HtmlWrongAttributeValue
  - name: PhpUndefinedClassConstantInspection
  - name: RegExpRedundantEscape
  - name: PhpUnnecessaryLocalVariableInspection
  - name: PhpUnusedParameterInspection
  - name: PhpUnusedLocalVariableInspection
  - name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
  - name: PhpSwitchStatementWitSingleBranchInspection
  - name: PhpLoopCanBeReplacedWithImplodeInspection
  - name: PhpArrayAccessCanBeReplacedWithForeachValueInspection
  - name: PhpArrayPushWithOneElementInspection
  - name: PhpCastIsUnnecessaryInspection
  - name: PhpDeprecationInspection
  - name: PhpStatementHasEmptyBodyInspection
  - name: PhpConditionAlreadyCheckedInspection
  - name: PhpExpressionResultUnusedInspection
  - name: PhpUndefinedClassInspection
  - name: RegExpSimplifiable
  - name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
  - name: PhpConditionCanBeReplacedWithMinMaxCallInspection
  - name: PhpArrayIsAlwaysEmptyInspection
  - name: PhpParameterByRefIsNotUsedAsReferenceInspection
  - name: PhpWrongStringConcatenationInspection
  - name: PhpUnusedAliasInspection
  - name: PhpUnusedPrivateMethodInspection
  - name: PhpUnusedPrivateFieldInspection
  - name: PhpExpressionAlwaysNullInspection
  - name: PhpIfWithCommonPartsInspection
  - name: PhpTernaryExpressionCanBeReducedToShortVersionInspection
  - name: PhpExpressionWithSameOperandsInspection
  - name: PhpInArrayCanBeReplacedWithComparisonInspection
  - name: PhpUnusedAliasInspection
  - name: PhpPossiblePolymorphicInvocationInspection
  - name: PhpReturnValueOfMethodIsNeverUsedInspection
  - name: PhpPregReplaceWithEmptyReplacementInspection
  - name: PhpFieldImmediatelyRewrittenInspection
  - name: PhpIllegalStringOffsetInspection
  - name: PhpWrongForeachArgumentTypeInspection
  - name: PhpRegExpRedundantModifierInspection
  - name: PhpClassConstantAccessedViaChildClassInspection
  - name: RegExpUnnecessaryNonCapturingGroup
  - name: PhpPregMatchReplaceWithComparisonInspection
  - name: PhpArrayWriteIsNotUsedInspection
  - name: PhpUndefinedNamespaceInspection
  - name: PhpArraySearchInBooleanContextInspection
  - name: PhpLoopCanBeReplacedWithStrRepeatInspection  
  - name: PhpPropertyOnlyWrittenInspection
  - name: PhpCoveredCharacterInClassInspection
  - name: PhpSameParameterValueInspection  
  - name: PhpSillyAssignmentInspection
  - name: PhpConditionCheckedByNextConditionInspection
  - name: RegExpSingleCharAlternation
  - name: PhpSuspiciousNameCombinationInspection
  - name: PhpObjectFieldsAreOnlyWrittenInspection
  - name: PhpMissingParentConstructorInspection  
  - name: PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection
  - name: PhpArrayUsedOnlyForWriteInspection
  - name: PhpArrayIndexImmediatelyRewrittenInspection
  - name: PhpParameterNameChangedDuringInheritanceInspection
  - name: PhpDuplicateSwitchCaseBodyInspection
  - name: PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection
  - name: PhpPointlessBooleanExpressionInConditionInspection  
  - name: PhpUndefinedMethodInspection
  - name: PhpDuplicateCatchBodyInspection
  - name: PhpDefineCanBeReplacedWithConstInspection
  - name: PhpMissingParamTypeInspection
  - name: PhpMissingReturnTypeInspection
  - name: CommaExpressionJS
  - name: JSTypeOfValues
  - name: PhpRedundantVariableDocTypeInspection
  - name: PhpUnhandledExceptionInspection
  - name: JSIgnoredPromiseFromCall
  - name: DuplicatedCode
  - name: BadExpressionStatementJS
  - name: PhpRedundantCatchClauseInspection
  - name: PhpIssetCanCheckNestedAccessDirectlyInspection
  - name: JSEqualityComparisonWithCoercion
  - name: JSUnusedAssignment
  - name: JSHint
  - name: ReservedWordUsedAsNameJS
  - name: JSUnusedLocalSymbols
  - name: TrivialIfJS
  - name: JSJQueryEfficiency
  - name: JSDuplicatedDeclaration
  - name: JSUnresolvedLibraryURL
  - name: UnnecessaryReturnJS
  - name: UnreachableCodeJS
  - name: JSUnnecessarySemicolon
  - name: JSPrimitiveTypeWrapperUsage
  - name: PhpFullyQualifiedNameUsageInspection
  - name: PhpDocMissingThrowsInspection
  - name: UnnecessaryLabelJS
  - name: JSCheckFunctionSignatures
  - name: JSValidateTypes
  - name: PhpReturnDocTypeMismatchInspection  
  - name: PhpSwitchWithCommonPartsInspection
   