File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 44
44
45
45
46
46
- stage : Static Analysis (informative)
47
- install :
48
- # Install PHPStan
49
- - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
50
- - travis_retry composer install --no-progress --prefer-dist
51
47
script :
52
- - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
48
+ - composer run-script phpstan
53
49
54
50
55
51
- stage : Code Coverage
Original file line number Diff line number Diff line change 23
23
"nette/tester" : " ^2.0" ,
24
24
"nette/di" : " ^v3.0" ,
25
25
"latte/latte" : " ^2.4" ,
26
- "tracy/tracy" : " ^2.4"
26
+ "tracy/tracy" : " ^2.4" ,
27
+ "phpstan/phpstan" : " ^0.12"
27
28
},
28
29
"suggest" : {
29
30
"ext-pdo_sqlite" : " to use SQLiteStorage or SQLiteJournal"
32
33
"classmap" : [" src/" ]
33
34
},
34
35
"minimum-stability" : " dev" ,
36
+ "scripts" : {
37
+ "phpstan" : " phpstan analyse --level 5 src" ,
38
+ "tester" : " tester tests -s"
39
+ },
35
40
"extra" : {
36
41
"branch-alias" : {
37
42
"dev-master" : " 3.0-dev"
You can’t perform that action at this time.
0 commit comments