-
Notifications
You must be signed in to change notification settings - Fork 439
/
config.level2.neon
140 lines (132 loc) · 5.04 KB
/
config.level2.neon
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
includes:
- config.level1.neon
parameters:
checkClassCaseSensitivity: true
checkThisOnly: false
checkPhpDocMissingReturn: true
rules:
- PHPStan\Rules\Cast\EchoRule
- PHPStan\Rules\Cast\InvalidCastRule
- PHPStan\Rules\Cast\InvalidPartOfEncapsedStringRule
- PHPStan\Rules\Cast\PrintRule
- PHPStan\Rules\Classes\AccessPrivateConstantThroughStaticRule
- PHPStan\Rules\Comparison\UsageOfVoidMatchExpressionRule
- PHPStan\Rules\Constants\ValueAssignedToClassConstantRule
- PHPStan\Rules\Functions\IncompatibleDefaultParameterTypeRule
- PHPStan\Rules\Generics\ClassAncestorsRule
- PHPStan\Rules\Generics\ClassTemplateTypeRule
- PHPStan\Rules\Generics\EnumAncestorsRule
- PHPStan\Rules\Generics\EnumTemplateTypeRule
- PHPStan\Rules\Generics\FunctionTemplateTypeRule
- PHPStan\Rules\Generics\FunctionSignatureVarianceRule
- PHPStan\Rules\Generics\InterfaceAncestorsRule
- PHPStan\Rules\Generics\InterfaceTemplateTypeRule
- PHPStan\Rules\Generics\MethodTemplateTypeRule
- PHPStan\Rules\Generics\MethodTagTemplateTypeRule
- PHPStan\Rules\Generics\MethodSignatureVarianceRule
- PHPStan\Rules\Generics\TraitTemplateTypeRule
- PHPStan\Rules\Generics\UsedTraitsRule
- PHPStan\Rules\Methods\CallPrivateMethodThroughStaticRule
- PHPStan\Rules\Methods\IncompatibleDefaultParameterTypeRule
- PHPStan\Rules\Operators\InvalidBinaryOperationRule
- PHPStan\Rules\Operators\InvalidUnaryOperationRule
- PHPStan\Rules\Operators\InvalidComparisonOperationRule
- PHPStan\Rules\PhpDoc\FunctionConditionalReturnTypeRule
- PHPStan\Rules\PhpDoc\MethodConditionalReturnTypeRule
- PHPStan\Rules\PhpDoc\FunctionAssertRule
- PHPStan\Rules\PhpDoc\MethodAssertRule
- PHPStan\Rules\PhpDoc\IncompatibleSelfOutTypeRule
- PHPStan\Rules\PhpDoc\IncompatibleClassConstantPhpDocTypeRule
- PHPStan\Rules\PhpDoc\IncompatiblePhpDocTypeRule
- PHPStan\Rules\PhpDoc\IncompatiblePropertyPhpDocTypeRule
- PHPStan\Rules\PhpDoc\InvalidThrowsPhpDocValueRule
- PHPStan\Rules\Properties\AccessPrivatePropertyThroughStaticRule
- PHPStan\Rules\Classes\RequireImplementsRule
- PHPStan\Rules\Classes\RequireExtendsRule
- PHPStan\Rules\PhpDoc\RequireImplementsDefinitionClassRule
- PHPStan\Rules\PhpDoc\RequireExtendsDefinitionClassRule
- PHPStan\Rules\PhpDoc\RequireExtendsDefinitionTraitRule
conditionalTags:
PHPStan\Rules\Functions\IncompatibleArrowFunctionDefaultParameterTypeRule:
phpstan.rules.rule: %featureToggles.closureDefaultParameterTypeRule%
PHPStan\Rules\Functions\IncompatibleClosureDefaultParameterTypeRule:
phpstan.rules.rule: %featureToggles.closureDefaultParameterTypeRule%
PHPStan\Rules\Methods\IllegalConstructorMethodCallRule:
phpstan.rules.rule: %featureToggles.illegalConstructorMethodCall%
PHPStan\Rules\Methods\IllegalConstructorStaticCallRule:
phpstan.rules.rule: %featureToggles.illegalConstructorMethodCall%
PHPStan\Rules\PhpDoc\VarTagChangedExpressionTypeRule:
phpstan.rules.rule: %featureToggles.varTagType%
PHPStan\Rules\Generics\PropertyVarianceRule:
phpstan.rules.rule: %featureToggles.propertyVariance%
PHPStan\Rules\Pure\PureFunctionRule:
phpstan.rules.rule: %featureToggles.pure%
PHPStan\Rules\Pure\PureMethodRule:
phpstan.rules.rule: %featureToggles.pure%
services:
-
class: PHPStan\Rules\Classes\MixinRule
arguments:
checkClassCaseSensitivity: %checkClassCaseSensitivity%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\PhpDoc\RequireExtendsCheck
arguments:
checkClassCaseSensitivity: %checkClassCaseSensitivity%
-
class: PHPStan\Rules\PhpDoc\RequireImplementsDefinitionTraitRule
arguments:
checkClassCaseSensitivity: %checkClassCaseSensitivity%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Functions\IncompatibleArrowFunctionDefaultParameterTypeRule
-
class: PHPStan\Rules\Functions\IncompatibleClosureDefaultParameterTypeRule
-
class: PHPStan\Rules\Functions\CallCallablesRule
arguments:
reportMaybes: %reportMaybes%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Methods\IllegalConstructorMethodCallRule
-
class: PHPStan\Rules\Methods\IllegalConstructorStaticCallRule
-
class: PHPStan\Rules\PhpDoc\InvalidPhpDocTagValueRule
arguments:
checkAllInvalidPhpDocs: %featureToggles.allInvalidPhpDocs%
invalidPhpDocTagLine: %featureToggles.invalidPhpDocTagLine%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\PhpDoc\InvalidPhpDocVarTagTypeRule
arguments:
checkClassCaseSensitivity: %checkClassCaseSensitivity%
checkMissingVarTagTypehint: %checkMissingVarTagTypehint%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\PhpDoc\InvalidPHPStanDocTagRule
arguments:
checkAllInvalidPhpDocs: %featureToggles.allInvalidPhpDocs%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\PhpDoc\VarTagChangedExpressionTypeRule
-
class: PHPStan\Rules\PhpDoc\WrongVariableNameInVarTagRule
arguments:
checkTypeAgainstNativeType: %featureToggles.varTagType%
tags:
- phpstan.rules.rule
-
class: PHPStan\Rules\Generics\PropertyVarianceRule
arguments:
readOnlyByPhpDoc: %featureToggles.readOnlyByPhpDoc%
-
class: PHPStan\Rules\Pure\PureFunctionRule
-
class: PHPStan\Rules\Pure\PureMethodRule