Skip to content

Commit

Permalink
Configuration parameters to enable/disable rules - fix for VariablePr…
Browse files Browse the repository at this point in the history
…opertyFetchRule
  • Loading branch information
MartinMystikJonas authored and ondrejmirtes committed Aug 25, 2022
1 parent 6f0133d commit 749afc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,20 @@ conditionalTags:
phpstan.rules.rule: %strictRules.noVariableVariables%
PHPStan\Rules\VariableVariables\VariableVariablesRule:
phpstan.rules.rule: %strictRules.noVariableVariables%
PHPStan\Rules\VariableVariables\VariablePropertyFetchRule:
phpstan.rules.rule: %strictRules.noVariableVariables%

services:
-
class: PHPStan\Rules\BooleansInConditions\BooleanRuleHelper

-
class: PHPStan\Rules\Operators\OperatorRuleHelper

-
class: PHPStan\Rules\VariableVariables\VariablePropertyFetchRule
arguments:
universalObjectCratesClasses: %universalObjectCratesClasses%
tags:
- phpstan.rules.rule

-
class: PHPStan\Rules\DisallowedConstructs\DisallowedLooseComparisonRule
Expand Down

0 comments on commit 749afc7

Please sign in to comment.