From 3ab4bac07e6167235ef31e017c5a13888601977d Mon Sep 17 00:00:00 2001 From: Rudy den Otter Date: Wed, 3 Dec 2025 15:21:03 +0100 Subject: [PATCH 1/2] Adds compatibility for PHPunit 12.0 & adds PHP8.4 test --- .github/workflows/Tests.yaml | 2 ++ composer.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index fc97026..b2075ab 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -18,9 +18,11 @@ jobs: - 8.1 - 8.2 - 8.3 + - 8.4 phpunit: - 10 - 11 + - 12 exclude: - php: 8.1 phpunit: 11 diff --git a/composer.json b/composer.json index f7a63ac..a566fff 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": ">=8.1", - "phpunit/phpunit": "^10.5.28|^11.2.8" + "phpunit/phpunit": "^10.5.28|^11.2.8|^12.0" }, "autoload": { "psr-4": { From 70fb0e6756466726b02c8a91f1a5252711d836d7 Mon Sep 17 00:00:00 2001 From: Rudy den Otter Date: Tue, 23 Dec 2025 13:56:37 +0100 Subject: [PATCH 2/2] Ignore PHP8.1 and 8.2 for PHPunit 12, this is not supported --- .github/workflows/Tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index b2075ab..a58f9f3 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -26,6 +26,10 @@ jobs: exclude: - php: 8.1 phpunit: 11 + - php: 8.1 + phpunit: 12 + - php: 8.2 + phpunit: 11 steps: - uses: actions/checkout@v4