From 202c018b592d5a516e4a465dc6dc515f3be37399 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Tue, 26 Mar 2024 11:38:51 +0000 Subject: PHPUnit 11 deprecates docblocks, use annotations instead --- tests/app/Report/ReportParserSetupTest.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/app/Report/ReportParserSetupTest.php') diff --git a/tests/app/Report/ReportParserSetupTest.php b/tests/app/Report/ReportParserSetupTest.php index 37528ff76b..e194a847cf 100644 --- a/tests/app/Report/ReportParserSetupTest.php +++ b/tests/app/Report/ReportParserSetupTest.php @@ -20,16 +20,14 @@ declare(strict_types=1); namespace Fisharebest\Webtrees\Report; use Fisharebest\Webtrees\TestCase; +use PHPUnit\Framework\Attributes\CoversClass; -/** - * Test harness for the class ReportParserSetup - * - * @covers \Fisharebest\Webtrees\Report\ReportParserSetup - */ + +#[CoversClass(ReportParserSetup::class)] class ReportParserSetupTest extends TestCase { public function testClass(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Report\ReportParserSetup::class)); + $this->assertTrue(class_exists(ReportParserSetup::class)); } } -- cgit v1.3