Skip to content

Commit d0dc2f0

Browse files
authored
Update README.md
1 parent 85fdc50 commit d0dc2f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ parameters:
7676
noVariableVariables: false
7777
```
7878

79+
Aside from introducing new custom rules, phpstan-strict-rules also [change the default values of some configuration parameters](https://github.com/phpstan/phpstan-strict-rules/blob/1.6.x/rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis).
80+
7981
## Enabling rules one-by-one
8082

8183
If you don't want to start using all the available strict rules at once but only one or two, you can!
@@ -96,3 +98,5 @@ parameters:
9698
allRules: false
9799
booleansInConditions: true
98100
```
101+
102+
Even with `strictRules.allRules` set to `false`, part of this package is still in effect. That's because phpstan-strict-rules also [change the default values of some configuration parameters](https://github.com/phpstan/phpstan-strict-rules/blob/1.6.x/rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis).

0 commit comments

Comments
 (0)