From 62f45d66a15a7b95defee3dd187152ad13c7015b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:34:09 +0100 Subject: [PATCH 01/15] Support PHPUnit 12 in dependencies and CI configuration --- .github/workflows/Tests.yaml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index fc97026..ac84f5d 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -21,6 +21,7 @@ jobs: phpunit: - 10 - 11 + - 12 exclude: - php: 8.1 phpunit: 11 diff --git a/composer.json b/composer.json index f7a63ac..04708be 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.0" }, "autoload": { "psr-4": { From 9154032559b01372127a74c34b7cd64dd26b5e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:35:32 +0100 Subject: [PATCH 02/15] Update CI configuration to test against PHP 8.4 and 8.5 --- .github/workflows/Tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index ac84f5d..fad61c5 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -15,9 +15,9 @@ jobs: fail-fast: false matrix: php: - - 8.1 - - 8.2 - 8.3 + - 8.4 + - 8.5 phpunit: - 10 - 11 From da7a161baca8022ade9536804563b3570ba00353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:41:19 +0100 Subject: [PATCH 03/15] Update testDataProvider method to accept a string parameter --- test/CapabilitiesTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/CapabilitiesTest.php b/test/CapabilitiesTest.php index 56a0ee8..be8e1c5 100644 --- a/test/CapabilitiesTest.php +++ b/test/CapabilitiesTest.php @@ -121,8 +121,7 @@ public function testMixedSeverities(): void } #[DataProvider('provideData')] - - public function testDataProvider(): void + public function testDataProvider(string $data): void { self::assertTrue(true); } From b59204c0393e6ac913a30aec7c36e7824c208115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:46:37 +0100 Subject: [PATCH 04/15] Fix output formatting in data provider test --- test/functional/data provider.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index 1e08e64..c77e5f6 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,10 +13,10 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set "foo" ('bar') (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set #0 ('baz') (%d ms) + 50% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider@foo with data ('bar')[0m [32m(%d ms)[0m +100% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider#0 with data ('baz')[0m [32m(%d ms)[0m Time: %s -OK (2 tests, 2 assertions) +[30;42mOK (2 tests, 2 assertions)[0m From ef3d0e32bf9334c31ee92a0ac613a3b3cc44d399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:48:15 +0100 Subject: [PATCH 05/15] Improve output formatting in data provider test --- test/functional/data provider.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index c77e5f6..759f9a4 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,8 +13,8 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider@foo with data ('bar')[0m [32m(%d ms)[0m -100% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider#0 with data ('baz')[0m [32m(%d ms)[0m + 50% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%s with data%s ('bar')[0m [32m(%d ms)[0m +100% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%s with data%s ('baz')[0m [32m(%d ms)[0m Time: %s From fc1078caa2f0c8af4a68a2b7f231a800072ecc69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 11:56:26 +0100 Subject: [PATCH 06/15] Fix ANSI escape code usage in data provider test output --- test/functional/data provider.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index 759f9a4..1e08e64 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,10 +13,10 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%s with data%s ('bar')[0m [32m(%d ms)[0m -100% . [32;1mScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%s with data%s ('baz')[0m [32m(%d ms)[0m + 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set "foo" ('bar') (%d ms) +100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set #0 ('baz') (%d ms) Time: %s -[30;42mOK (2 tests, 2 assertions)[0m +OK (2 tests, 2 assertions) From fa4f0ab7037e672af8ce1c1d545647446d2bd0ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:07:08 +0100 Subject: [PATCH 07/15] Improve formatting of data provider test output --- test/functional/data provider.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index 1e08e64..2e7ad99 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,8 +13,8 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set "foo" ('bar') (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set #0 ('baz') (%d ms) + 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(@foo)? with data (set "foo")? ('bar') (%d ms) +100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(#0)? with data (set #0)? ('baz') (%d ms) Time: %s From 55dc31c994e3d28c603fdaa35354afcdba0ea06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:08:23 +0100 Subject: [PATCH 08/15] Improve formatting of data provider test output --- test/functional/data provider.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index 2e7ad99..80c5bf1 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,8 +13,8 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(@foo)? with data (set "foo")? ('bar') (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(#0)? with data (set #0)? ('baz') (%d ms) + 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(@foo)? with data (set "foo")?('bar') (%d ms) +100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(#0)? with data (set #0)?('baz') (%d ms) Time: %s From 8389a7742d3aaf97c6a2c04f23d08d983eb5184f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:48:47 +0100 Subject: [PATCH 09/15] Refine data provider test output formatting --- test/config/test dp args.phpt | 4 ++-- test/functional/data provider.phpt | 4 ++-- test/functional/success after failure.phpt | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/config/test dp args.phpt b/test/config/test dp args.phpt index 892a1f7..7396219 100644 --- a/test/config/test dp args.phpt +++ b/test/config/test dp args.phpt @@ -13,8 +13,8 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set "foo" (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider with data set #0 (%d ms) + 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%swith data%s (%d ms) +100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%swith data%s (%d ms) Time: %s diff --git a/test/functional/data provider.phpt b/test/functional/data provider.phpt index 80c5bf1..e684220 100644 --- a/test/functional/data provider.phpt +++ b/test/functional/data provider.phpt @@ -13,8 +13,8 @@ PHPUnit %s Runtime: %s Configuration: %s - 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(@foo)? with data (set "foo")?('bar') (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider(#0)? with data (set #0)?('baz') (%d ms) + 50% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%swith data%s('bar') (%d ms) +100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider%swith data%s('baz') (%d ms) Time: %s diff --git a/test/functional/success after failure.phpt b/test/functional/success after failure.phpt index 3ecc696..1a3f76e 100644 --- a/test/functional/success after failure.phpt +++ b/test/functional/success after failure.phpt @@ -13,22 +13,22 @@ PHPUnit %s Runtime: %s Configuration: %s - 25% . ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure with data set #0 (true) (%d ms) - 50% F ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure with data set #1 (false) (%d ms) + 25% . ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure%swith data%s(true) (%d ms) + 50% F ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure%swith data%s(false) (%d ms) Failed asserting that false is true.  %s%eCapabilitiesTest.php:%d  - 75% ! ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure with data set #2 (true) (%d ms) -100% ! ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure with data set #3 (true) (%d ms) + 75% ! ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure%swith data%s(true) (%d ms) +100% ! ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure%swith data%s(true) (%d ms) Time: %s There was 1 failure: -1) ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure with data set #1 (false) +1) ScriptFUSIONTest\Pip\CapabilitiesTest::testSuccessAfterFailure%swith data%s(false) Failed asserting that false is true. %s%eCapabilitiesTest.php:%d From db7867b00393b4980f96e4d3422f474eead64ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:50:49 +0100 Subject: [PATCH 10/15] Update CI configuration to include PHP 13 in test matrix --- .github/workflows/Tests.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index fad61c5..c93f801 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -22,10 +22,7 @@ jobs: - 10 - 11 - 12 - exclude: - - php: 8.1 - phpunit: 11 - + - 13 steps: - uses: actions/checkout@v4 From 990e69f08af8159036a5e3a0130b9bd9e788fa8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:51:56 +0100 Subject: [PATCH 11/15] Raise minimum PHP version to 8.3 and add PHPUnit 13 support in composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 04708be..a77624a 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,8 @@ } ], "require": { - "php": ">=8.1", - "phpunit/phpunit": "^10.5.28|^11.2.8|^12.0.0" + "php": ">=8.3", + "phpunit/phpunit": "^10.5.28|^11.2.8|^12.0.0|^13.0.0" }, "autoload": { "psr-4": { From cab3b6ddbadec2ad53ba4dfa23927d748adf581f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 12:53:28 +0100 Subject: [PATCH 12/15] Exclude PHP 8.3 with PHPUnit 13 from CI test matrix --- .github/workflows/Tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index c93f801..0de4554 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -23,6 +23,10 @@ jobs: - 11 - 12 - 13 + exclude: + - php: 8.3 + phpunit: 13 + steps: - uses: actions/checkout@v4 From bbb9df2fea18da5ced5de921294aadde314ab6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 14:24:36 +0100 Subject: [PATCH 13/15] Lower minimum PHP version to 8.2 and adjust CI test matrix accordingly --- .github/workflows/Tests.yaml | 5 +++++ composer.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 0de4554..58c532e 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -15,6 +15,7 @@ jobs: fail-fast: false matrix: php: + - 8.2 - 8.3 - 8.4 - 8.5 @@ -24,6 +25,10 @@ jobs: - 12 - 13 exclude: + - php: 8.2 + phpunit: 12 + - php: 8.2 + phpunit: 13 - php: 8.3 phpunit: 13 diff --git a/composer.json b/composer.json index a77624a..2b6f413 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,8 @@ } ], "require": { - "php": ">=8.3", - "phpunit/phpunit": "^10.5.28|^11.2.8|^12.0.0|^13.0.0" + "php": ">=8.2", + "phpunit/phpunit": "^10.5.28|^11.2.8|^12|^13" }, "autoload": { "psr-4": { From 36798055e98513b5e015cc4992cf2064852522c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 16:48:44 +0100 Subject: [PATCH 14/15] Lower minimum PHP version to 8.1 and update CI test matrix accordingly --- .github/workflows/Tests.yaml | 5 +++++ composer.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 58c532e..50c4226 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -15,6 +15,7 @@ jobs: fail-fast: false matrix: php: + - 8.1 - 8.2 - 8.3 - 8.4 @@ -25,6 +26,10 @@ jobs: - 12 - 13 exclude: + - php: 8.1 + phpunit: 12 + - php: 8.1 + phpunit: 13 - php: 8.2 phpunit: 12 - php: 8.2 diff --git a/composer.json b/composer.json index 2b6f413..d6b7b05 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "php": ">=8.2", + "php": ">=8.1", "phpunit/phpunit": "^10.5.28|^11.2.8|^12|^13" }, "autoload": { From c52e456c67586dbc791240304abb9c6df3c21f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20P=C3=A9rez?= Date: Tue, 10 Mar 2026 16:51:01 +0100 Subject: [PATCH 15/15] Exclude PHPUnit 11 and 12 with PHP 8.1 from CI test matrix --- .github/workflows/Tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 50c4226..5e70b18 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -26,6 +26,8 @@ jobs: - 12 - 13 exclude: + - php: 8.1 + phpunit: 11 - php: 8.1 phpunit: 12 - php: 8.1