Skip to content

Commit e650862

Browse files
committed
- Try to enable phpstan for travis. phpstan is only available for php7+
1 parent 25ec6c1 commit e650862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ before_script:
1515
- if [ $(phpenv version-name) != "5.6" ]; then composer require --dev phpstan/phpstan; fi
1616

1717
script:
18-
- phpunit -c tests.xml
19-
- if [ $(phpenv version-name) != "5.6" ]; then vendor/bin/phpstan -l 4 src; fi
18+
- vendor/bin/phpunit -c tests.xml
19+
- if [ $(phpenv version-name) != "5.6" ]; then vendor/bin/phpstan analyze -l 4 src; fi
2020

0 commit comments

Comments
 (0)