mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 03:57:21 +00:00
Use PHPUnit attribute for Markdown data provider
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user