From dfb34de34a01a15d7e19e46b9c653a669ffb835f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Fri, 2 Feb 2024 08:14:17 +0100 Subject: [PATCH] Use attribute instead of annotation --- tests/fixture/example/tests/GreeterTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/fixture/example/tests/GreeterTest.php b/tests/fixture/example/tests/GreeterTest.php index b708f41..17380b4 100644 --- a/tests/fixture/example/tests/GreeterTest.php +++ b/tests/fixture/example/tests/GreeterTest.php @@ -9,11 +9,10 @@ */ namespace SebastianBergmann\PHPCOV\TestFixture; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; -/** - * @covers \SebastianBergmann\PHPCOV\TestFixture\Greeter - */ +#[CoversClass(Greeter::class)] final class GreeterTest extends TestCase { public function testGreetsWorld(): void