@@ -29,10 +29,6 @@ includes:
2929
3030## Rules
3131
32- 1. ` SlamPhpStan\SymfonyFilesystemRule`: forbid calls to raw filesystem functions well wrapped by
33- [`symfony/filesystem`](https://github.com/symfony/filesystem) component
34- 1. `SlamPhpStan\SymfonyProcessRule` : forbid calls to raw system functions well wrapped by
35- [`symfony/process`](https://github.com/symfony/process) component
36321. ` SlamPhpStan\UnusedVariableRule`: check for variable inside functions never used after initial assignment
37331. `SlamPhpStan\MissingClosureParameterTypehintRule` : requires parameter typehints for closures; WARNING: no PhpDoc
3834allowed, see [`phpstan/phpstan-strict-rules#87`](https://github.com/phpstan/phpstan-strict-rules/issues/87)
@@ -53,6 +49,22 @@ classes that extend or implement a certain class/interface
53491. `SlamPhpStan\AccessStaticPropertyWithinModelContextRule` : inhibit the access to static attributes of a class within
5450classes that extend or implement a certain class/interface, useful to prohibit usage of singletons in models
5551
52+ # # Symfony-specific config
53+
54+ A `symfony-rules.neon` config is present for Symfony projects :
55+
56+ ` ` ` yaml
57+ includes:
58+ - vendor/slam/phpstan-extensions/conf/symfony-rules.neon
59+ ` ` `
60+
61+ With the following configurations :
62+
63+ 1. `SlamPhpStan\SymfonyFilesystemRule` : forbid calls to raw filesystem functions well wrapped by
64+ [`symfony/filesystem`](https://github.com/symfony/filesystem) component
65+ 1. `SlamPhpStan\SymfonyProcessRule` : forbid calls to raw system functions well wrapped by
66+ [`symfony/process`](https://github.com/symfony/process) component
67+
5668# # Yii-specific config
5769
5870A `yii-rules.neon` config is present for Yii projects :
0 commit comments