diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index fc97026..5e70b18 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -18,12 +18,26 @@ jobs: - 8.1 - 8.2 - 8.3 + - 8.4 + - 8.5 phpunit: - 10 - 11 + - 12 + - 13 exclude: - php: 8.1 phpunit: 11 + - php: 8.1 + phpunit: 12 + - php: 8.1 + phpunit: 13 + - php: 8.2 + phpunit: 12 + - php: 8.2 + phpunit: 13 + - php: 8.3 + phpunit: 13 steps: - uses: actions/checkout@v4 diff --git a/composer.json b/composer.json index f7a63ac..d6b7b05 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|^13" }, "autoload": { "psr-4": { 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); } 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 1e08e64..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 with data set "foo" ('bar') (%d ms) -100% . ScriptFUSIONTest\Pip\CapabilitiesTest::testDataProvider 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