Skip to content

Commit 85d1dd4

Browse files
Use attribute instead of annotation
1 parent 95312d9 commit 85d1dd4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/end-to-end/regression/6366/Issue6366Test.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
namespace PHPUnit\TestFixture\Issue6366;
1111

1212
use Exception;
13+
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
1314
use PHPUnit\Framework\TestCase;
1415

1516
final class Issue6366Test extends TestCase
1617
{
17-
/**
18-
* @doesNotPerformAssertions
19-
*/
18+
#[DoesNotPerformAssertions]
2019
public function testOne(): void
2120
{
2221
$this->createStub(Exception::class);

0 commit comments

Comments
 (0)