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.
1 parent 1eef0f9 commit 316736fCopy full SHA for 316736f
tests/end-to-end/logging/_files/CaseWithDollarSignTest.php
@@ -9,6 +9,8 @@
9
*/
10
namespace PHPUnit\TestFixture;
11
12
+use PHPUnit\Framework\Attributes\DataProvider;
13
+use PHPUnit\Framework\Attributes\TestDox;
14
use PHPUnit\Framework\TestCase;
15
16
final class CaseWithDollarSignTest extends TestCase
@@ -24,11 +26,8 @@ public static function dataProvider(): iterable
24
26
yield ['Alone $ surrounded by spaces'];
25
27
}
28
- /**
- * @testdox The "$x" is used for this test
29
- *
30
- * @dataProvider dataProvider
31
- */
+ #[DataProvider('dataProvider')]
+ #[TestDox('The "$x" is used for this test')]
32
public function testSomething(string $x): void
33
{
34
$this->assertTrue(true);
0 commit comments