We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41bd8e commit 4daa931Copy full SHA for 4daa931
.travis.yml
@@ -44,6 +44,17 @@ jobs:
44
- php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
45
46
47
+ - stage: Static Analysis
48
+ php: 7.1
49
+ install:
50
+ # Install PHPStan
51
+ - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
52
+ - travis_retry composer install --no-progress --prefer-dist
53
+
54
+ script:
55
+ - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
56
57
58
- stage: Code Coverage
59
script:
60
- vendor/bin/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
@@ -53,6 +64,7 @@ jobs:
64
65
66
allow_failures:
67
68
69
70
0 commit comments