@@ -22,12 +22,16 @@ parameters:
22
22
booleansInConditions : %strictRules.allRules%
23
23
uselessCast : %strictRules.allRules%
24
24
requireParentConstructorCall : %strictRules.allRules%
25
- disallowedConstructs : %strictRules.allRules%
25
+ disallowedBacktick : %strictRules.allRules%
26
+ disallowedEmpty : %strictRules.allRules%
27
+ disallowedImplicitArrayCreation : %strictRules.allRules%
28
+ disallowedShortTernary : %strictRules.allRules%
26
29
overwriteVariablesWithLoop : %strictRules.allRules%
27
30
closureUsesThis : %strictRules.allRules%
28
31
matchingInheritedMethodNames : %strictRules.allRules%
29
32
numericOperandsInArithmeticOperators : %strictRules.allRules%
30
- strictCalls : %strictRules.allRules%
33
+ strictFunctionCalls : %strictRules.allRules%
34
+ dynamicCallOnStaticMethod : %strictRules.allRules%
31
35
switchConditionsMatchingType : %strictRules.allRules%
32
36
noVariableVariables : %strictRules.allRules%
33
37
strictArrayFilter : [%strictRules.allRules% , %featureToggles.bleedingEdge% ]
@@ -39,12 +43,16 @@ parametersSchema:
39
43
booleansInConditions : anyOf (bool (), arrayOf (bool ()))
40
44
uselessCast : anyOf (bool (), arrayOf (bool ()))
41
45
requireParentConstructorCall : anyOf (bool (), arrayOf (bool ()))
42
- disallowedConstructs : anyOf (bool (), arrayOf (bool ()))
46
+ disallowedBacktick : anyOf (bool (), arrayOf (bool ()))
47
+ disallowedEmpty : anyOf (bool (), arrayOf (bool ()))
48
+ disallowedImplicitArrayCreation : anyOf (bool (), arrayOf (bool ()))
49
+ disallowedShortTernary : anyOf (bool (), arrayOf (bool ()))
43
50
overwriteVariablesWithLoop : anyOf (bool (), arrayOf (bool ()))
44
51
closureUsesThis : anyOf (bool (), arrayOf (bool ()))
45
52
matchingInheritedMethodNames : anyOf (bool (), arrayOf (bool ()))
46
53
numericOperandsInArithmeticOperators : anyOf (bool (), arrayOf (bool ()))
47
- strictCalls : anyOf (bool (), arrayOf (bool ()))
54
+ strictFunctionCalls : anyOf (bool (), arrayOf (bool ()))
55
+ dynamicCallOnStaticMethod : anyOf (bool (), arrayOf (bool ()))
48
56
switchConditionsMatchingType : anyOf (bool (), arrayOf (bool ()))
49
57
noVariableVariables : anyOf (bool (), arrayOf (bool ()))
50
58
strictArrayFilter : anyOf (bool (), arrayOf (bool ()))
@@ -70,13 +78,13 @@ conditionalTags:
70
78
PHPStan\Rules\Classes\RequireParentConstructCallRule :
71
79
phpstan.rules.rule : %strictRules.requireParentConstructorCall%
72
80
PHPStan\Rules\DisallowedConstructs\DisallowedBacktickRule :
73
- phpstan.rules.rule : %strictRules.disallowedConstructs %
81
+ phpstan.rules.rule : %strictRules.disallowedBacktick %
74
82
PHPStan\Rules\DisallowedConstructs\DisallowedEmptyRule :
75
- phpstan.rules.rule : %strictRules.disallowedConstructs %
83
+ phpstan.rules.rule : %strictRules.disallowedEmpty %
76
84
PHPStan\Rules\DisallowedConstructs\DisallowedImplicitArrayCreationRule :
77
- phpstan.rules.rule : %strictRules.disallowedConstructs %
85
+ phpstan.rules.rule : %strictRules.disallowedImplicitArrayCreation %
78
86
PHPStan\Rules\DisallowedConstructs\DisallowedShortTernaryRule :
79
- phpstan.rules.rule : %strictRules.disallowedConstructs %
87
+ phpstan.rules.rule : %strictRules.disallowedShortTernary %
80
88
PHPStan\Rules\ForeachLoop\OverwriteVariablesWithForeachRule :
81
89
phpstan.rules.rule : %strictRules.overwriteVariablesWithLoop%
82
90
PHPStan\Rules\ForLoop\OverwriteVariablesWithForLoopInitRule :
@@ -108,11 +116,11 @@ conditionalTags:
108
116
PHPStan\Rules\Operators\OperandsInArithmeticSubtractionRule :
109
117
phpstan.rules.rule : %strictRules.numericOperandsInArithmeticOperators%
110
118
PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsRule :
111
- phpstan.rules.rule : %strictRules.strictCalls %
119
+ phpstan.rules.rule : %strictRules.dynamicCallOnStaticMethod %
112
120
PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsCallableRule :
113
- phpstan.rules.rule : %strictRules.strictCalls %
121
+ phpstan.rules.rule : %strictRules.dynamicCallOnStaticMethod %
114
122
PHPStan\Rules\StrictCalls\StrictFunctionCallsRule :
115
- phpstan.rules.rule : %strictRules.strictCalls %
123
+ phpstan.rules.rule : %strictRules.strictFunctionCalls %
116
124
PHPStan\Rules\SwitchConditions\MatchingTypeInSwitchCaseConditionRule :
117
125
phpstan.rules.rule : %strictRules.switchConditionsMatchingType%
118
126
PHPStan\Rules\VariableVariables\VariableMethodCallRule :
0 commit comments