Skip to content

Commit

Permalink
Support phpunit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweeney committed Dec 14, 2024
1 parent 9e63111 commit b096e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@
"Svg\\Tests\\": "tests/Svg"
}
},
"config": {
"bin-dir": "bin"
},
"require": {
"php": "^7.1 || ^8.0",
"ext-mbstring": "*",
"sabberworm/php-css-parser": "^8.4"
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5"
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11"
}
}
1 change: 1 addition & 0 deletions tests/Svg/PathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b096e34

Please sign in to comment.