File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,24 @@ composer require symplify/phpstan-rules --dev
1616
1717<br >
1818
19- ## Register Rules you Need
2019
21- Pick from 25+ rules:
20+ ## Usage
21+
22+ Later, once you have most rules applied, it's best practice to include whole sets:
23+
24+ ``` yaml
25+ includes :
26+ - vendor/symplify/phpstan-rules/config/code-complexity-rules.neon
27+ - vendor/symplify/phpstan-rules/config/configurable-rules.neon
28+ - vendor/symplify/phpstan-rules/config/naming-rules.neon
29+ - vendor/symplify/phpstan-rules/config/regex-rules.neon
30+ - vendor/symplify/phpstan-rules/config/static-rules.neon
31+ - vendor/symplify/phpstan-rules/config/rector-rules.neon
32+ ` ` `
33+
34+ <br>
35+
36+ But at start, make baby steps with one rule at a time:
2237
2338<br>
2439
You can’t perform that action at this time.
0 commit comments