From 81d0e027e5399f8d3e2af58aa3ab26fcf7836316 Mon Sep 17 00:00:00 2001 From: spiralbot Date: Fri, 8 Nov 2024 08:56:19 +0000 Subject: [PATCH] Update to use PHPUnit 10 syntax (#1163) --- composer.json | 2 +- tests/TraverserTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3b72acb..b4f5983 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/TraverserTest.php b/tests/TraverserTest.php index 5dad518..884eff7 100644 --- a/tests/TraverserTest.php +++ b/tests/TraverserTest.php @@ -118,6 +118,7 @@ public function leaveNode(mixed $node, VisitorContext $ctx): mixed ); } + #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions] public function testVisitorContext(): void { $doc = $this->parse('hello');