diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5abb9aa..d6a208f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,4 @@ jobs: - run: composer install - run: sudo /etc/init.d/asterisk status || sudo /etc/init.d/asterisk start - run: sudo /etc/init.d/asterisk status || sleep 2 - - 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 f7d68fc..c1f2854 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "react/socket": "^1.17" }, "require-dev": { - "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "phpunit/phpunit": "^9.6 || ^8.5 || ^5.7 || ^4.8.36", "react/async": "^4.3 || ^3.2 || ^2.2" }, "autoload": {