We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[DataProvider]
1 parent a868ccb commit c9035b3Copy full SHA for c9035b3
src/Testing/LevelsTestCase.php
@@ -8,6 +8,7 @@
8
use PHPStan\File\FileWriter;
9
use PHPStan\ShouldNotHappenException;
10
use PHPUnit\Framework\AssertionFailedError;
11
+use PHPUnit\Framework\Attributes\DataProvider;
12
use PHPUnit\Framework\TestCase;
13
use function array_merge;
14
use function count;
@@ -48,9 +49,7 @@ protected function shouldAutoloadAnalysedFile(): bool
48
49
return true;
50
}
51
- /**
52
- * @dataProvider dataTopics
53
- */
+ #[DataProvider('dataTopics')]
54
public function testLevels(
55
string $topic,
56
): void
0 commit comments