mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-21 20:36:05 +03:00
Improve PHPStan Configuration
This commit is contained in:
parent
86503e2e35
commit
e2e6d70ea8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
.phpcs-cache
|
||||
composer.phar
|
||||
composer.lock
|
||||
phpcs.xml
|
||||
phpstan.neon
|
||||
|
@ -43,6 +43,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint" : "phpcs",
|
||||
"static-analysis": "phpstan analyse --ansi -l 1 -c phpstan.neon.dist src tests"
|
||||
"static-analysis": "phpstan analyse --ansi"
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
parameters:
|
||||
level: 1
|
||||
|
||||
paths:
|
||||
- %currentWorkingDirectory%/src
|
||||
- %currentWorkingDirectory%/tests
|
||||
|
||||
includes:
|
||||
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||
- vendor/phpstan/phpstan-phpunit/rules.neon
|
||||
|
Loading…
Reference in New Issue
Block a user