mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-25 01:06:27 +00:00
04ace9dba0
* 3.x: Handle single-node child template bodies in cleanup Keep captured block definitions supported Clarify captured block deprecation wording Simplify correctness visitor checks Move extends validation into correctness visitor Fix correctness visitor regressions Fix test assertions that did not verify the intended behavior Address review: fix block-nesting checks in CorrectnessNodeVisitor Move the extends-in-block and extends-in-macro errors into the CorrectnessNodeVisitor Introduce a CorrectnessNodeVisitor to validate that templates are semantically correct Mark Markup as final Allow calling a macro with a dynamic name via the dot operator Add an allow-list for tests to the sandbox security policy Fix markdown_to_html mangling content that starts with a blank line # Conflicts: # CHANGELOG # doc/deprecated.rst # doc/sandbox.rst # src/ExpressionParser/Infix/DotExpressionParser.php # src/Extension/CoreExtension.php # src/Markup.php # src/Node/CheckSecurityNode.php # src/Node/Expression/Filter/DefaultFilter.php # src/Node/Expression/NullCoalesceExpression.php # src/Node/IfNode.php # src/NodeVisitor/SandboxNodeVisitor.php # src/Parser.php # src/Sandbox/SecurityPolicy.php # tests/Extension/SandboxTest.php # tests/ParserTest.php