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 41
41
42
42
43
43
- stage : Static Analysis (informative)
44
- install :
45
- # Install PHPStan
46
- - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
47
- - travis_retry composer install --no-progress --prefer-dist
44
+ php : 7.4
48
45
script :
49
- - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
46
+ - composer run-script phpstan
50
47
51
48
52
49
- stage : Code Coverage
Original file line number Diff line number Diff line change 20
20
},
21
21
"require-dev" : {
22
22
"nette/tester" : " ^2.0" ,
23
- "tracy/tracy" : " ^2.3"
23
+ "tracy/tracy" : " ^2.3" ,
24
+ "phpstan/phpstan" : " ^0.12"
24
25
},
25
26
"autoload" : {
26
27
"classmap" : [" src/" ]
27
28
},
28
29
"minimum-stability" : " dev" ,
30
+ "scripts" : {
31
+ "phpstan" : " phpstan analyse --level 5 src" ,
32
+ "tester" : " tester tests -s"
33
+ },
29
34
"extra" : {
30
35
"branch-alias" : {
31
36
"dev-master" : " 3.3-dev"
You can’t perform that action at this time.
0 commit comments