File tree 3 files changed +9
-6
lines changed 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 54
54
55
55
56
56
- stage : Static Analysis (informative)
57
- install :
58
- # Install PHPStan
59
- - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
60
- - travis_retry composer install --no-progress --prefer-dist
61
57
script :
62
- - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
58
+ - composer run-script phpstan
63
59
64
60
65
61
- stage : Code Coverage
Original file line number Diff line number Diff line change 24
24
"nette/di" : " ^3.0" ,
25
25
"nette/tester" : " ^2.0" ,
26
26
"latte/latte" : " ^2.4.1" ,
27
- "tracy/tracy" : " ^2.4"
27
+ "tracy/tracy" : " ^2.4" ,
28
+ "phpstan/phpstan-nette" : " ^0.12"
28
29
},
29
30
"conflict" : {
30
31
"nette/di" : " <3.0-stable"
33
34
"classmap" : [" src/" ]
34
35
},
35
36
"minimum-stability" : " dev" ,
37
+ "scripts" : {
38
+ "phpstan" : " phpstan analyse --level 5 --configuration tests/phpstan.neon src" ,
39
+ "tester" : " tester tests -s"
40
+ },
36
41
"extra" : {
37
42
"branch-alias" : {
38
43
"dev-master" : " 3.0-dev"
Original file line number Diff line number Diff line change
1
+ includes :
2
+ - ../vendor/phpstan/phpstan-nette/extension.neon
You can’t perform that action at this time.
0 commit comments