Skip to content

Commit 12eb57d

Browse files
authored
Lock down faulty phpstan
1 parent 3133a48 commit 12eb57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ before_script:
4747
script:
4848
- if [[ $DEFAULT == 1 ]]; then vendor/bin/phpunit; fi
4949
- if [[ $PHPCS == 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/vendor/,/tmp/,/logs/ --extensions=php . ; fi
50-
- if [[ $PHPSTAN == 1 ]]; then composer require --dev phpstan/phpstan && vendor/bin/phpstan analyse -c tests/phpstan.neon -l 3 src; fi
50+
- if [[ $PHPSTAN == 1 ]]; then composer require --dev phpstan/phpstan:"^0.8" && vendor/bin/phpstan analyse -c tests/phpstan.neon -l 3 src; fi
5151

5252
- if [[ $CODECOVERAGE == 1 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml || true; fi
5353
- if [[ $CODECOVERAGE == 1 ]]; then wget -O codecov.sh https://codecov.io/bash; fi

0 commit comments

Comments
 (0)