File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ before_script:
3737
3838script :
3939 - web-push-testing-service start example -p 9012
40- - ./vendor/bin/phpunit
40+ - composer test:unit
4141 - web-push-testing-service stop example
42-
43- after_script :
44- - ./vendor/bin/phpstan analyse --level max src
42+ - composer test:typing
43+ - composer test:syntax
Original file line number Diff line number Diff line change 1313 }
1414 ],
1515 "scripts" : {
16- "test" : " ./vendor/bin/phpunit --color"
16+ "test:unit" : " ./vendor/bin/phpunit --color" ,
17+ "test:typing" : " ./vendor/bin/phpstan analyse --level max src" ,
18+ "test:syntax" : " ./vendor/bin/php-cs-fixer fix ./src --dry-run --stop-on-violation --using-cache=no"
1719 },
1820 "require" : {
1921 "php" : " ^7.1" ,
2628 },
2729 "require-dev" : {
2830 "phpunit/phpunit" : " ^7.0" ,
29- "phpstan/phpstan" : " ^0.11"
31+ "phpstan/phpstan" : " ^0.11" ,
32+ "friendsofphp/php-cs-fixer" : " ^2.14"
3033 },
3134 "autoload" : {
3235 "psr-4" : {
You can’t perform that action at this time.
0 commit comments