Skip to content

Commit

Permalink
Use attribute instead of annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 2, 2024
1 parent a98aecb commit dfb34de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/fixture/example/tests/GreeterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfb34de

Please sign in to comment.