From b9938cf08435cbb3e28ded9d87b3726b6ce8adca Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 31 Jan 2023 14:34:13 +0100 Subject: [PATCH] tools: github actions: fix PHP 8.0 tests - `--ignore-platform-req=php` is no longer needed - fixes https://github.com/shaarli/Shaarli/issues/1933 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7f29ea3..f4095536 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,10 +38,10 @@ jobs: - name: Update dependencies for PHP 8.x if: ${{ matrix.php-versions == '8.0' || matrix.php-versions == '8.1' }} run: | - composer update --ignore-platform-req=php && \ - composer remove --dev --ignore-platform-req=php phpunit/phpunit && \ - composer require --dev --ignore-platform-req=php phpunit/php-text-template ^2.0 && \ - composer require --dev --ignore-platform-req=php phpunit/phpunit ^9.0 + composer update && \ + composer remove --dev phpunit/phpunit && \ + composer require --dev phpunit/php-text-template ^2.0 && \ + composer require --dev phpunit/phpunit ^9.0 - name: Update dependencies for PHP 7.x if: ${{ matrix.php-versions != '8.0' && matrix.php-versions != '8.1' }}