mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56: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
|
.phpcs-cache
|
||||||
composer.phar
|
|
||||||
composer.lock
|
composer.lock
|
||||||
phpcs.xml
|
phpcs.xml
|
||||||
phpstan.neon
|
phpstan.neon
|
||||||
|
@ -43,6 +43,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint" : "phpcs",
|
"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:
|
includes:
|
||||||
- vendor/phpstan/phpstan-phpunit/extension.neon
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||||
- vendor/phpstan/phpstan-phpunit/rules.neon
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
||||||
|
Loading…
Reference in New Issue
Block a user