Merge pull request #349 from simPod/improve-stan-config

Improve PHPStan Configuration
This commit is contained in:
Vladimir Razuvaev 2018-09-06 12:08:06 +07:00 committed by GitHub
commit 85f4c774a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.phpcs-cache
composer.phar
composer.lock
phpcs.xml
phpstan.neon

View File

@ -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"
}
}

View File

@ -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