瀏覽代碼

Try to fix phpstan errors

Jordi Boggiano 5 年之前
父節點
當前提交
7634520bdd
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

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