diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 608b339..58d7095 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,4 @@ jobs: extensions: zlib coverage: xdebug - run: composer install - - run: vendor/bin/phpunit --coverage-text - if: ${{ matrix.php >= 7.3 }} - - run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy - if: ${{ matrix.php < 7.3 }} + - run: vendor/bin/phpunit --coverage-text ${{ matrix.php < 7.3 && '-c phpunit.xml.legacy' || '' }} diff --git a/composer.json b/composer.json index 67f72ed..3fa40f7 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "react/stream": "^1.2" }, "require-dev": { - "phpunit/phpunit": "^9.6 || ^6.5", + "phpunit/phpunit": "^9.6 || ^8.5 || ^6.5", "react/event-loop": "^1.2" }, "autoload": {