Skip to content

Commit

Permalink
Update to use PHPUnit 10 syntax (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Nov 8, 2024
1 parent cd7c6fa commit 81d0e02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"ext-json": "*",
"php": ">=8.1",
"myclabs/deep-copy": "^1.9",
"spiral/core": "^3.14.6"
"spiral/core": "^3.15"
},
"require-dev": {
"phpunit/phpunit": "^10.1",
Expand Down
1 change: 1 addition & 0 deletions tests/TraverserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function leaveNode(mixed $node, VisitorContext $ctx): mixed
);
}

#[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
public function testVisitorContext(): void
{
$doc = $this->parse('<a href="url"><b>hello</b></a>');
Expand Down

0 comments on commit 81d0e02

Please sign in to comment.