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
@@ -25,7 +25,7 @@ class ArrayTest extends NodeTestCase
$this->assertEquals($foo, $node->getNode('1'));
}
public function getTests()
public static function provideTests(): iterable
{
$elements = [
new ConstantExpression('foo', 1),