Compare commits
2 Commits
1abb965047
...
master
Author | SHA1 | Date | |
---|---|---|---|
93d26dc1b6
|
|||
1046386555
|
@ -1,8 +1,7 @@
|
||||
includes:
|
||||
# - ../../../vendor/phpstan/phpstan/conf/bleedingEdge.neon
|
||||
- phar://phpstan.phar/conf/bleedingEdge.neon
|
||||
- ../../../vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
||||
parameters:
|
||||
bleedingEdge: true
|
||||
polluteScopeWithLoopInitialAssignments: false
|
||||
polluteScopeWithAlwaysIterableForeach: false
|
||||
checkAlwaysTrueCheckTypeFunctionCall: true
|
||||
@ -81,10 +80,10 @@ parametersSchema:
|
||||
])
|
||||
|
||||
rules:
|
||||
- PHPStan\Rules\BooleansInConditions\BooleanInBooleanAndRule
|
||||
- PHPStan\Rules\BooleansInConditions\BooleanInBooleanOrRule
|
||||
- PHPStan\Rules\BooleansInConditions\BooleanInElseIfConditionRule
|
||||
- PHPStan\Rules\BooleansInConditions\BooleanInTernaryOperatorRule
|
||||
# - PHPStan\Rules\BooleansInConditions\BooleanInBooleanAndRule
|
||||
# - PHPStan\Rules\BooleansInConditions\BooleanInBooleanOrRule
|
||||
# - PHPStan\Rules\BooleansInConditions\BooleanInElseIfConditionRule
|
||||
# - PHPStan\Rules\BooleansInConditions\BooleanInTernaryOperatorRule
|
||||
- PHPStan\Rules\DisallowedConstructs\DisallowedImplicitArrayCreationRule
|
||||
- PHPStan\Rules\DisallowedConstructs\DisallowedShortTernaryRule
|
||||
- PHPStan\Rules\ForeachLoop\OverwriteVariablesWithForeachRule
|
||||
|
Reference in New Issue
Block a user