Skip to content

Commit 540bb6a

Browse files
committed
fix
1 parent f12be42 commit 540bb6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
use PHPStan\Rules\Rule;
66
use PHPStan\Testing\RuleTestCase;
77
use PHPStan\Type\FileTypeMapper;
8+
use PHPUnit\Framework\Attributes\DataProvider;
9+
810

911
/**
1012
* @extends RuleTestCase<DataProviderDeclarationRule>
@@ -32,6 +34,7 @@ protected function getRule(): Rule
3234
/**
3335
* @dataProvider provideVersions
3436
*/
37+
#[DataProvider('provideVersions')]
3538
public function testRule(?int $version): void
3639
{
3740
$this->phpunitVersion = $version;

0 commit comments

Comments
 (0)