From 951bacdcf7935da030bc0f8b00e8fd20f6e65938 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 21 Jun 2024 13:32:57 +0200 Subject: [PATCH] Fixate more compatible PHPUnit version --- .github/workflows/build.yml | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c1e9de..652335a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -120,8 +120,8 @@ jobs: run: "composer update --no-interaction --no-progress" - name: "Downgrade PHPUnit" - if: matrix.php-version == '7.2' || matrix.php-version == '7.3' - run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies" + if: matrix.php-version == '7.2' + run: "composer require --dev phpunit/phpunit:^8.5.31 --update-with-dependencies" - name: "Tests" run: "make tests" diff --git a/composer.json b/composer.json index 6aa6534..8219d29 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "~9.5.28" }, "config": { "platform": {