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:
37
37
38
38
script :
39
39
- web-push-testing-service start example -p 9012
40
- - ./vendor/bin/phpunit
40
+ - composer test:unit
41
41
- 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 13
13
}
14
14
],
15
15
"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"
17
19
},
18
20
"require" : {
19
21
"php" : " ^7.1" ,
26
28
},
27
29
"require-dev" : {
28
30
"phpunit/phpunit" : " ^7.0" ,
29
- "phpstan/phpstan" : " ^0.11"
31
+ "phpstan/phpstan" : " ^0.11" ,
32
+ "friendsofphp/php-cs-fixer" : " ^2.14"
30
33
},
31
34
"autoload" : {
32
35
"psr-4" : {
You can’t perform that action at this time.
0 commit comments