Migrate NodeTestCase to static data providers

This commit is contained in:
Alexander M. Turek
2024-09-02 21:29:30 +02:00
parent c0f11545fd
commit f555a33caf
43 changed files with 209 additions and 145 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class BlockReferenceTest extends NodeTestCase
$this->assertEquals('foo', $node->getAttribute('name'));
}
public function getTests()
public static function provideTests(): iterable
{
return [
[new BlockReferenceNode('foo', 1), <<<'EOF'