Skip to content

Commit

Permalink
[BUILD] Added project specific phpstan settings (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Aug 12, 2019
2 parents 19a59d3 + e394b66 commit 2d3d655
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rmt.yml
Expand Up @@ -10,7 +10,7 @@ prerequisites:
- tests-check:
command: vendor/bin/phpunit --stop-on-failure
- command:
cmd: vendor/bin/phpstan analyse -c phpstan.neon -l 7 src tests
cmd: vendor/bin/phpstan analyse
- command:
cmd: vendor/bin/php-cs-fixer fix --verbose
- composer-security-check
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -16,7 +16,7 @@ checkdeps:
vendor/bin/composer-require-checker check composer.json

phpstan:
vendor/bin/phpstan analyse -c phpstan.neon -l 7 src tests
vendor/bin/phpstan analyse

test:
vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
6 changes: 6 additions & 0 deletions phpstan.neon → phpstan.neon.dist
@@ -1,4 +1,10 @@
parameters:
level: max

paths:
- src
- tests

autoload_files:
- vendor-bin/test/vendor/autoload.php

Expand Down

0 comments on commit 2d3d655

Please sign in to comment.