Skip to content

Commit 749afc7

Browse files
MartinMystikJonasondrejmirtes
authored andcommitted
Configuration parameters to enable/disable rules - fix for VariablePropertyFetchRule
1 parent 6f0133d commit 749afc7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: rules.neon

+3-2
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,20 @@ conditionalTags:
119119
phpstan.rules.rule: %strictRules.noVariableVariables%
120120
PHPStan\Rules\VariableVariables\VariableVariablesRule:
121121
phpstan.rules.rule: %strictRules.noVariableVariables%
122+
PHPStan\Rules\VariableVariables\VariablePropertyFetchRule:
123+
phpstan.rules.rule: %strictRules.noVariableVariables%
122124

123125
services:
124126
-
125127
class: PHPStan\Rules\BooleansInConditions\BooleanRuleHelper
126128

127129
-
128130
class: PHPStan\Rules\Operators\OperatorRuleHelper
131+
129132
-
130133
class: PHPStan\Rules\VariableVariables\VariablePropertyFetchRule
131134
arguments:
132135
universalObjectCratesClasses: %universalObjectCratesClasses%
133-
tags:
134-
- phpstan.rules.rule
135136

136137
-
137138
class: PHPStan\Rules\DisallowedConstructs\DisallowedLooseComparisonRule

0 commit comments

Comments
 (0)