mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
Merge pull request #349 from simPod/improve-stan-config
Improve PHPStan Configuration
This commit is contained in:
commit
85f4c774a6
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