This commit is contained in:
Fabien Potencier
2024-08-07 19:34:09 +02:00
parent ea4d706da1
commit f5e10e10f1
15 changed files with 88 additions and 90 deletions
+3 -3
View File
@@ -121,7 +121,7 @@ class __TwigTemplate_%x extends Template
}
}
EOF
, $twig, true];
, $twig, true];
$import = new ImportNode(new ConstantExpression('foo.twig', 1), new AssignNameExpression('macro', 1), 2);
@@ -207,7 +207,7 @@ class __TwigTemplate_%x extends Template
}
}
EOF
, $twig, true];
, $twig, true];
$set = new SetNode(false, new Node([new AssignNameExpression('foo', 4)]), new Node([new ConstantExpression('foo', 4)]), 4);
$body = new Node([$set]);
@@ -297,7 +297,7 @@ class __TwigTemplate_%x extends Template
}
}
EOF
, $twig, true];
, $twig, true];
return $tests;
}