Explorar el Código

Try to fix phpstan errors

Jordi Boggiano hace 5 años
padre
commit
7634520bdd
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -33,6 +33,7 @@ matrix:
       env:
         - deps=high
         - PHPSTAN=1
+    - php: nightly
   fast_finish: true
   allow_failures:
     - php: nightly
@@ -64,7 +65,7 @@ script:
   - ./vendor/bin/simple-phpunit
   # Run PHPStan
   - 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;
     fi