1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Brian Sweeney <brian@eclecticgeek.com>
Date: Sat, 14 Dec 2024 13:48:33 -0500
Subject: Support phpunit 11
Origin: upstream
Forwarded: https://github.com/dompdf/php-svg-lib/commit/ee5bab8e99e99e493ed4d35a7f0e7efd09b748b6
---
composer.json | 2 +-
tests/Svg/PathTest.php | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/composer.json b/composer.json
index 138cf86..4283ff4 100644
--- a/composer.json
+++ b/composer.json
@@ -26,6 +26,6 @@
"horde/css-parser": "^1.0.11"
},
"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 @@ final class PathTest extends TestCase
* @param string $commandSequence
* @param array $expected
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('commandProvider')]
public function testParseCommands(string $commandSequence, array $expected)
{
$result = Path::parse($commandSequence);
|