Skip to content

Commit 5be4eed

Browse files
committed
Use phpunit attributes
1 parent dffcaea commit 5be4eed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Builder/InsertStatementTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PhpMyAdmin\SqlParser\Context;
99
use PhpMyAdmin\SqlParser\Parser;
1010
use PhpMyAdmin\SqlParser\Tests\TestCase;
11+
use PHPUnit\Framework\Attributes\DataProvider;
1112

1213
class InsertStatementTest extends TestCase
1314
{
@@ -27,7 +28,7 @@ protected function tearDown(): void
2728
parent::tearDown();
2829
}
2930

30-
/** @dataProvider providerForTestBuilder */
31+
#[DataProvider('providerForTestBuilder')]
3132
public function testBuilder(string $sql): void
3233
{
3334
$parser = new Parser($sql);

0 commit comments

Comments
 (0)