1
0
Fork 0

Try to fix phpstan errors

pull/8566/head
Jordi Boggiano 2020-02-07 22:35:57 +01:00
parent 45ecbae8f5
commit 7634520bdd
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 1 deletions

View File

@ -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