mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 05:15:35 +00:00
Migrate NodeTestCase to static data providers
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user