Skip to content

Commit 20bc3c9

Browse files
committed
Refactor test attributes to use PHP 8 attributes for better readability
1 parent d8d5ce0 commit 20bc3c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CardServiceProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
use Illuminate\Support\Facades\App;
66
use InteractionDesignFoundation\HtmlCard\MarkdownConverter;
77

8-
/** @covers \InteractionDesignFoundation\HtmlCard\CardServiceProvider */
8+
#[\PHPUnit\Framework\Attributes\CoversClass(\InteractionDesignFoundation\HtmlCard\CardServiceProvider::class)]
99
final class CardServiceProviderTest extends TestCase
1010
{
11-
/** @test */
11+
#[\PHPUnit\Framework\Attributes\Test]
1212
public function it_registers_markdown_converter_implementation(): void
1313
{
1414
$converter = App::make(MarkdownConverter::class);

0 commit comments

Comments
 (0)