forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qodana.yaml
152 lines (152 loc) · 7.39 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
version: "1.0"
linter: ghcr.io/shyim/qodana-php:8.1
bootstrap: |+
composer update
./bin/console --version
rm -rf vendor-bin
npm install --prefix src/Administration/Resources/app/administration
npm install --prefix src/Storefront/Resources/app/storefront
include:
- name: CheckDependencyLicenses
- name: MkdirRaceConditionInspection
- name: TraitsPropertiesConflictsInspection
- name: ClassMockingCorrectnessInspection
- name: CallableMethodValidityInspection
- name: SuspiciousLoopInspection
- name: MagicMethodsValidityInspection
- name: SwitchContinuationInLoopInspection
- name: SuspiciousSemicolonInspection
- name: AutoloadingIssuesInspection
- name: MissingArrayInitializationInspection
- name: ClassConstantUsageCorrectnessInspection
- name: PrintfScanfArgumentsInspection
- name: DateIntervalSpecificationInspection
- name: MissingIssetImplementationInspection
- name: RealpathInStreamContextInspection
- name: InfinityLoopInspection
- name: SuspiciousFunctionCallsInspection
- name: SubStrShortHandUsageInspection
- name: SubStrUsedAsArrayAccessInspection
- name: ArrayPushMissUseInspection
- name: AlterInForeachInspection
- name: CaseInsensitiveStringFunctionsMissUseInspection
- name: AmbiguousMethodsCallsInArrayMappingInspection
- name: NotOptimalRegularExpressionsInspection
- name: InArrayMissUseInspection
- name: StrtotimeUsageInspection
- name: SlowArrayOperationsInLoopInspection
- name: UnqualifiedReferenceInspection
- name: VariableFunctionsUsageInspection
- name: FixedTimeStartWithInspection
- name: PackedHashtableOptimizationInspection
- name: StrStrUsedAsStrPosInspection
- name: CascadeStringReplacementInspection
- name: PhpTaintFunctionInspection
- name: PhpVulnerablePathsInspection
- name: ProjectDirParameter
- name: UseControllerShortcuts
- name: TwigWithExtendsWithRootHtml
- name: AutowireWrongClass
- name: ConstructorCommandHeavyConstructor
- name: ConstructorTwigExtensionHeavyConstructor
- name: FormTypeBuilderInstance
- name: ConstructorNoRequestStack
- name: ConstructorNoSession
- name: PhpUnitAssertTrueWithIncompatibleTypeArgumentInspection
- name: PhpUnitAssertCanBeReplacedWithEmptyInspection
- name: PhpUnitAssertEqualsCanBeReplacedWithAssertTrueOrFalseInspection
- name: PhpUnitAssertCanBeReplacedWithFailInspection
- name: PhpUnitCoversFunctionWithoutScopeResolutionOperatorInspection
- name: PhpUnitAssertContainsInspection
- name: PhpUnitAssertEqualsInspection
- name: PhpUnitAssertFileEqualsInspection
- name: PhpUnitCoversByAccessModifierIsDeprecatedInspection
- name: PhpUnitExpectedExceptionDocTagIsDeprecatedInspection
- name: PhpUnitDeprecatedExpectExceptionInspection
- name: PhpMockeryInvalidMockingMethodInspection
- name: PhpUnitAssertArrayHasKeyInspection
- name: PhpUnitDeprecatedCallsIn10VersionInspection
- name: PhpUnitMisorderedAssertEqualsArgumentsInspection
- name: PhpUnitMissingTargetForTestInspection
- name: PhpUnitUndefinedDataProviderInspection
- name: PhpUnitAssertCountInspection
- name: PhpUnitInvalidMockingEntityInspection
- name: PhpToStringMayProduceExceptionInspection
- name: PhpArrayPushWithOneElementInspection
- name: PhpArraySearchInBooleanContextInspection
- name: PhpContinueTargetingSwitchInspection
- name: PhpFuncGetArgCanBeReplacedWithParamInspection
- name: PhpIfCanBeMergedWithSequentialConditionInspection
- name: PhpInArrayCanBeReplacedWithComparisonInspection
- name: PhpMatchExpressionWithOnlyDefaultArmInspection
- name: PhpPregMatchWithoutEffectiveRegexpInspection
- name: PhpPregMatchReplaceWithComparisonInspection
- name: PhpPregReplaceWithEmptyReplacementInspection
- name: PhpPregSplitWithoutRegExpInspection
- name: PhpSwitchStatementWitSingleBranchInspection
- name: PhpAccessingStaticMembersOnTraitInspection
- name: PhpInvalidInstanceofInspection
- name: PhpArrayAccessCanBeReplacedWithForeachValueInspection
- name: PhpArrayIndexResetIsUnnecessaryInspection
- name: PhpArrayIsAlwaysEmptyInspection
- name: PhpArrayToStringConversionInspection
- name: PhpArrayUsedOnlyForWriteInspection
- name: PhpBooleanCanBeSimplifiedInspection
- name: PhpClassConstantAccessedViaChildClassInspection
- name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
- name: PhpConditionCanBeReplacedWithMinMaxCallInspection
- name: PhpDefineConstantNameStartsWithLeadingSlashInspection
- name: PhpDuplicateCatchBodyInspection
- name: PhpDuplicateOperandInComparisonInspection
- name: PhpExceptionImmediatelyRethrownInspection
- name: PhpForeachOverSingleElementArrayLiteralInspection
- name: PhpFormatCallWithSingleArgumentInspection
- name: PhpIdempotentOperationInspection
- name: PhpInconsistentReturnPointsInspection
- name: PhpExpressionWithSameOperandsInspection
- name: PhpLoopCanBeReplacedWithImplodeInspection
- name: PhpLoopCanBeReplacedWithStdFunctionCallsInspection
- name: PhpLoopCanBeReplacedWithStrRepeatInspection
- name: PhpOverridingMethodVisibilityInspection
- name: PhpReturnValueOfMethodIsNeverUsedInspection
- name: PhpModuloByOneInspection
- name: PhpNestedDirNameCallsCanBeReplacedWithLevelParameterInspection
- name: PhpNestedMinMaxCallInspection
- name: PhpSameParameterValueInspection
- name: PhpMethodParametersCountMismatchInspection
- name: PhpPointlessBooleanExpressionInConditionInspection
- name: PhpPrivateFieldCanBeLocalVariableInspection
- name: PhpPropertyOnlyWrittenInspection
- name: PhpRedundantArrayCallInForeachIteratedValueInspection
- name: PhpRedundantDefaultBreakContinueArgumentInspection
- name: PhpUnnecessaryStaticReferenceInspection
- name: PhpRedundantAssignmentToPromotedFieldInspection
- name: PhpUnnecessaryBoolCastInspection
- name: PhpUnnecessaryStringCastInspection
- name: PhpPregMatchRedundantClosureInspection
- name: PhpRedundantMethodOverrideInspection
- name: PhpRedundantOptionalArgumentInspection
- name: PhpTernaryExpressionCanBeReplacedWithConditionInspection
- name: PhpTernaryExpressionCanBeReducedToShortVersionInspection
- name: PhpTooManyParametersInspection
- name: PhpUnnecessaryStopStatementInspection
- name: PhpUnnecessaryLocalVariableInspection
- name: PhpParameterByRefIsNotUsedAsReferenceInspection
- name: PhpUnnecessarySemicolonInspection
- name: PhpUnnecessarySpreadOperatorForFunctionCallArgumentInspection
- name: PhpUsageOfSilenceOperatorInspection
- name: PhpUselessTrailingCommaInspection
- name: PhpArrayAppendUsingCountInspection
- name: PhpArrayFillCanBeConvertedToLoopInspection
- name: PhpArrayFilterCanBeConvertedToLoopInspection
- name: PhpArrayMapCanBeConvertedToLoopInspection
- name: PhpGetClassCanBeReplacedWithClassNameLiteralInspection
- name: PhpClosureCanBeConvertedToFirstClassCallableInspection
- name: PhpIfCanBeReplacedWithMatchExpressionInspection
- name: PhpIssetCanBeReplacedWithCoalesceInspection
- name: PhpCatchWithInstanceOfCanBeReplacedWithSpecificCatchesInspection
- name: PhpIssetCanCheckNestedAccessDirectlyInspection
- name: PhpMatchCanBeReplacedWithSwitchStatementInspection
- name: PhpClassCanBeReadonlyInspection
exclude:
- name: PhpInternalEntityUsedInspection