Add phpstan with config set to max
This commit is contained in:
parent
63a52c853b
commit
6e973db521
2 changed files with 16 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
||||||
"php": ">=5.3"
|
"php": ">=5.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8.36 || ^9.0"
|
"phpunit/phpunit": "^4.8.36 || ^9.0",
|
||||||
|
"phpstan/phpstan": "^1.3"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|
14
phpstan.neon
Normal file
14
phpstan.neon
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
parameters:
|
||||||
|
|
||||||
|
paths:
|
||||||
|
- src
|
||||||
|
|
||||||
|
# The level 8 is the highest level
|
||||||
|
level: max
|
||||||
|
|
||||||
|
excludePaths:
|
||||||
|
- ./*/*/FileToBeExcluded.php
|
||||||
|
|
||||||
|
checkMissingIterableValueType: true
|
||||||
|
|
||||||
|
#editorUrl: 'vscode://file/%%file%%:%%line%%'
|
Loading…
Add table
Add a link
Reference in a new issue