File tree Expand file tree Collapse file tree 5 files changed +6
-67
lines changed Expand file tree Collapse file tree 5 files changed +6
-67
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ install:
2626script :
2727 - ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover
2828 - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/psalm --config=psalm.xml; fi
29+ - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/phpstan analyse src --level 7; fi
2930 - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
3031
3132after_script :
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313 "require-dev" : {
1414 "php-service-bus/code-style-config" : " ^v0.1" ,
1515 "phpunit/phpunit" : " ^8" ,
16- "vimeo/psalm" : " ^v3"
16+ "vimeo/psalm" : " ^v3" ,
17+ "phpstan/phpstan" : " ^0.11.5"
1718 },
1819 "config" : {
1920 "sort-packages" : true ,
3940 },
4041 "scripts" : {
4142 "psalm" : " ./vendor/bin/psalm --config=psalm.xml" ,
43+ "phpstan" : " ./vendor/bin/phpstan analyse src --level 7" ,
4244 "tests" : " ./vendor/bin/phpunit --configuration phpunit.xml --verbose" ,
4345 "coverage" : " ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --verbose" ,
4446 "cs-check" : " ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run" ,
4547 "cs-fix" : " ./vendor/bin/php-cs-fixer fix --allow-risky=yes" ,
46- "pre-commit" : " PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpunit --configuration phpunit.xml --verbose"
48+ "pre-commit" : " PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 7 && ./vendor/bin/ phpunit --configuration phpunit.xml --verbose"
4749 }
4850}
Original file line number Diff line number Diff line change 1+ parameters :
You can’t perform that action at this time.
0 commit comments