File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ matrix:
21
21
- php : 7.2
22
22
name : Backward compatibillity check
23
23
env : DEPENDENCIES="roave/backward-compatibility-check" TEST_COMMAND="./.github/bc-test.sh"
24
+ - php : 7.1
25
+ name : phpstan
26
+ script :
27
+ - vendor/bin/phpstan analyse --no-progress
24
28
25
29
before_install :
26
30
- if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
Original file line number Diff line number Diff line change 31
31
"php-http/guzzle6-adapter" : " ^1.0 || ^2.0" ,
32
32
"php-http/mock-client" : " ^1.2" ,
33
33
"guzzlehttp/psr7" : " ^1.2" ,
34
- "cache/array-adapter" : " ^0.4"
34
+ "cache/array-adapter" : " ^0.4" ,
35
+ "phpstan/phpstan" : " ^0.12.23"
35
36
},
36
37
"autoload" : {
37
38
"psr-4" : { "Github\\ " : " lib/Github/" }
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ level: 0
3
+ paths:
4
+ - lib
You can’t perform that action at this time.
0 commit comments