File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-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
48
44
script :
49
- - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
45
+ - composer run-script phpstan
50
46
51
47
52
48
- stage : Code Coverage
Original file line number Diff line number Diff line change 22
22
"nette/di" : " ^3.0.0" ,
23
23
"nette/http" : " ^3.0.0" ,
24
24
"nette/tester" : " ^2.0" ,
25
- "tracy/tracy" : " ^2.4"
25
+ "tracy/tracy" : " ^2.4" ,
26
+ "phpstan/phpstan-nette" : " ^0.12"
26
27
},
27
28
"conflict" : {
28
29
"nette/di" : " <3.0-stable"
31
32
"classmap" : [" src/" ]
32
33
},
33
34
"minimum-stability" : " dev" ,
35
+ "scripts" : {
36
+ "phpstan" : " phpstan analyse --level 5 --configuration tests/phpstan.neon src" ,
37
+ "tester" : " tester tests -s"
38
+ },
34
39
"extra" : {
35
40
"branch-alias" : {
36
41
"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