Try to fix phpstan errors
parent
45ecbae8f5
commit
7634520bdd
|
@ -33,6 +33,7 @@ matrix:
|
||||||
env:
|
env:
|
||||||
- deps=high
|
- deps=high
|
||||||
- PHPSTAN=1
|
- PHPSTAN=1
|
||||||
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
@ -64,7 +65,7 @@ script:
|
||||||
- ./vendor/bin/simple-phpunit
|
- ./vendor/bin/simple-phpunit
|
||||||
# Run PHPStan
|
# Run PHPStan
|
||||||
- if [[ $PHPSTAN == "1" ]]; then
|
- if [[ $PHPSTAN == "1" ]]; then
|
||||||
bin/composer require --dev phpstan/phpstan:^0.12 &&
|
bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^6.5 &&
|
||||||
vendor/bin/phpstan analyse --configuration=phpstan/config.neon;
|
vendor/bin/phpstan analyse --configuration=phpstan/config.neon;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue