mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 14:26:08 +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
|
.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