Use PHPUnit attribute for Markdown data provider

This commit is contained in:
Fabien Potencier
2026-08-17 20:22:03 +02:00
parent c4d77c9847
commit 553980ccff
@@ -91,9 +91,7 @@ EOF, "<p>Paragraph 1</p>\n+<p>Paragraph 2\s*</p>"],
];
}
/**
* @dataProvider getIndentationTests
*/
#[DataProvider('getIndentationTests')]
public function testStripsCommonIndentation(string $body, string $expected): void
{
$runtime = new MarkdownRuntime(new class implements MarkdownInterface {