You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-21
Original file line number
Diff line number
Diff line change
@@ -79,34 +79,15 @@ parameters:
79
79
80
80
If you don't want to start using all the available strict rules at once but only one or two, you can!
81
81
82
-
### Without extension-installer
83
-
84
-
Just don't include the whole `rules.neon` from this package in your configuration, but look at its contents and copy only the rules you want to your configuration under the `services` key:
When using `phpstan/extension-installer` you can disable automatic loading of all rules by:
82
+
You can disable all rules from the included `rules.neon` with:
102
83
103
84
```neon
104
85
parameters:
105
86
strictRules:
106
87
allRules: false
107
88
```
108
89
109
-
Then you can enable individual rules by adding them as services just like without extension-installer (see above) or re-enable them by configuration parameters:
90
+
Then you can re-enable individual rules with configuration parameters:
0 commit comments