Skip to content

Commit b096e34

Browse files
committed
Support phpunit 11
1 parent 9e63111 commit b096e34

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
"Svg\\Tests\\": "tests/Svg"
2121
}
2222
},
23+
"config": {
24+
"bin-dir": "bin"
25+
},
2326
"require": {
2427
"php": "^7.1 || ^8.0",
2528
"ext-mbstring": "*",
2629
"sabberworm/php-css-parser": "^8.4"
2730
},
2831
"require-dev": {
29-
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5"
32+
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11"
3033
}
3134
}

tests/Svg/PathTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public static function commandProvider(): array
7676
* @param string $commandSequence
7777
* @param array $expected
7878
*/
79+
#[\PHPUnit\Framework\Attributes\DataProvider('commandProvider')]
7980
public function testParseCommands(string $commandSequence, array $expected)
8081
{
8182
$result = Path::parse($commandSequence);

0 commit comments

Comments
 (0)