Skip to content

Commit 8d121df

Browse files
committed
Rewritten rules.neon with RulesExtension
1 parent 7680382 commit 8d121df

File tree

1 file changed

+10
-45
lines changed

1 file changed

+10
-45
lines changed

Diff for: rules.neon

+10-45
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,13 @@
11
parameters:
22
polluteScopeWithLoopInitialAssignments: false
33

4-
services:
5-
-
6-
class: PHPStan\Rules\BooleansInConditions\BooleanInBooleanAndRule
7-
tags:
8-
- phpstan.rules.rule
9-
10-
-
11-
class: PHPStan\Rules\BooleansInConditions\BooleanInBooleanNotRule
12-
tags:
13-
- phpstan.rules.rule
14-
15-
-
16-
class: PHPStan\Rules\BooleansInConditions\BooleanInBooleanOrRule
17-
tags:
18-
- phpstan.rules.rule
19-
20-
-
21-
class: PHPStan\Rules\BooleansInConditions\BooleanInElseIfConditionRule
22-
tags:
23-
- phpstan.rules.rule
24-
25-
-
26-
class: PHPStan\Rules\BooleansInConditions\BooleanInIfConditionRule
27-
tags:
28-
- phpstan.rules.rule
29-
30-
-
31-
class: PHPStan\Rules\BooleansInConditions\BooleanInTernaryOperatorRule
32-
tags:
33-
- phpstan.rules.rule
34-
35-
-
36-
class: PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsRule
37-
tags:
38-
- phpstan.rules.rule
39-
40-
-
41-
class: PHPStan\Rules\StrictCalls\StrictFunctionCallsRule
42-
tags:
43-
- phpstan.rules.rule
44-
45-
-
46-
class: PHPStan\Rules\SwitchConditions\MatchingTypeInSwitchCaseConditionRule
47-
tags:
48-
- phpstan.rules.rule
4+
rules:
5+
- PHPStan\Rules\BooleansInConditions\BooleanInBooleanAndRule
6+
- PHPStan\Rules\BooleansInConditions\BooleanInBooleanNotRule
7+
- PHPStan\Rules\BooleansInConditions\BooleanInBooleanOrRule
8+
- PHPStan\Rules\BooleansInConditions\BooleanInElseIfConditionRule
9+
- PHPStan\Rules\BooleansInConditions\BooleanInIfConditionRule
10+
- PHPStan\Rules\BooleansInConditions\BooleanInTernaryOperatorRule
11+
- PHPStan\Rules\StrictCalls\DynamicCallOnStaticMethodsRule
12+
- PHPStan\Rules\StrictCalls\StrictFunctionCallsRule
13+
- PHPStan\Rules\SwitchConditions\MatchingTypeInSwitchCaseConditionRule

0 commit comments

Comments
 (0)