This repository was archived by the owner on Nov 23, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,14 @@ and set path to __vendor/matla/phpstancs/bin/phpcs__
2323You also need allowed inspection from phpcs
2424![ img2] ( resources/readmeImg/setPhpStorm2.png )
2525### PhpStan and PhpStanCS setup
26- phpStan is possible only by file phpstan.neon
26+ Config phpStan is possible only by file phpstan.neon
2727in root directory of project (location of composer.json).
28- If file like this exist, than must contain
28+ If file like this exist, than you must install this extension
29+ either automatically using "phpstan/extension-installer" or by including in your phpstan.neon.
30+ eg.
2931``` neon
3032includes:
3133 - vendor/matla/phpstancs/extension.neon
32-
3334```
3435Settings for phpStanCs are in same file.
3536It is parameter runCS (bool), which turn on/of phpcs inspection which is marget with php stan results.
Original file line number Diff line number Diff line change 5050 },
5151 "require" : {
5252 "php" : " ^7.1" ,
53- "phpstan/phpstan" : " > 0.9" ,
53+ "phpstan/phpstan" : " > 0.9 < 0.12.0 " ,
5454 "squizlabs/php_codesniffer" : " ^3.4" ,
5555 "nette/neon" : " > 2.4"
5656 },
You can’t perform that action at this time.
0 commit comments