From 38e5014cb7e7487be7204a97cffbaa2dfb5c691b Mon Sep 17 00:00:00 2001 From: Brian Sweeney Date: Sat, 14 Dec 2024 13:48:33 -0500 Subject: [PATCH] Support phpunit 11 --- composer.json | 2 +- tests/Svg/PathTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bf2b153..4a8abe3 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,6 @@ "sabberworm/php-css-parser": "^8.4" }, "require-dev": { - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5" + "phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11" } } diff --git a/tests/Svg/PathTest.php b/tests/Svg/PathTest.php index 9a2348f..1cefcb9 100644 --- a/tests/Svg/PathTest.php +++ b/tests/Svg/PathTest.php @@ -76,6 +76,7 @@ public static function commandProvider(): array * @param string $commandSequence * @param array $expected */ + #[\PHPUnit\Framework\Attributes\DataProvider('commandProvider')] public function testParseCommands(string $commandSequence, array $expected) { $result = Path::parse($commandSequence);