Skip to content

Commit 572aa6a

Browse files
committed
Use #[CoversClass] attribute instead of PHPDoc annotation
1 parent 166f81c commit 572aa6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ConsecutiveArgumentsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
namespace Tests\MichaelPetri\PhpunitConsecutiveArguments;
66

77
use MichaelPetri\PhpunitConsecutiveArguments\ConsecutiveArguments;
8+
use PHPUnit\Framework\Attributes\CoversClass;
89
use PHPUnit\Framework\Constraint\IsAnything;
910
use PHPUnit\Framework\TestCase;
1011
use Tests\MichaelPetri\PhpunitConsecutiveArguments\Stub\MockableConsecutiveArgumentInterface;
1112

12-
/** @covers \MichaelPetri\PhpunitConsecutiveArguments\ConsecutiveArguments */
13+
#[CoversClass(ConsecutiveArguments::class)]
1314
final class ConsecutiveArgumentsTest extends TestCase
1415
{
1516
private MockableConsecutiveArgumentInterface $mock;

0 commit comments

Comments
 (0)