forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qodana.yaml
120 lines (119 loc) · 4.73 KB
/
qodana.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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