From de4c610c31bec88d9084899582b88ec1eb07af6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Sun, 25 Oct 2026 12:48:56 +0100 Subject: [PATCH] Update test environment to fix tests on legacy PHP 7.2 with PHPUnit 8.5 --- .github/workflows/ci.yml | 7 ++----- composer.json | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a32d3e3..bb7f9f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: php: - 7.4 - 7.3 - # - 7.2 # skip temporarily due to version conflicts + - 7.2 - 7.1 steps: - uses: actions/checkout@v7 @@ -22,7 +22,4 @@ jobs: php-version: ${{ matrix.php }} coverage: xdebug - run: composer install - - run: vendor/bin/phpunit --coverage-text --exclude-group internet # skip temporarily due to unavailable SOAP service, see #58 - if: ${{ matrix.php >= 7.3 }} - - run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy --exclude-group internet # skip temporarily due to unavailable SOAP service, see #58 - if: ${{ matrix.php < 7.3 }} + - run: vendor/bin/phpunit --coverage-text ${{ matrix.php < 7.3 && '-c phpunit.xml.legacy' || '' }} --exclude-group internet # skip temporarily due to unavailable SOAP service, see #58 diff --git a/composer.json b/composer.json index c6bec98..a113fb3 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,6 @@ }, "require-dev": { "clue/block-react": "^1.0", - "phpunit/phpunit": "^9.3 || ^7.5" + "phpunit/phpunit": "^9.3 || ^8.5 || ^7.5" } }