mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-12 14:55:24 +00:00
Deprecate the fact that the extends and use tags are always allowed in a sandboxed template
This commit is contained in:
@@ -60,7 +60,7 @@ final class BlockTokenParser extends AbstractTokenParser
|
||||
$this->parser->popBlockStack();
|
||||
$this->parser->popLocalScope();
|
||||
|
||||
return new BlockReferenceNode($name, $lineno, $this->getTag());
|
||||
return new BlockReferenceNode($name, $lineno);
|
||||
}
|
||||
|
||||
public function decideBlockEnd(Token $token): bool
|
||||
|
||||
Reference in New Issue
Block a user