Commit 8840b71
committed
bug symfony#58964 [TwigBridge] do not add child nodes to EmptyNode instances (xabbuh)
This PR was merged into the 5.4 branch.
Discussion
----------
[TwigBridge] do not add child nodes to EmptyNode instances
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
see twigphp/Twig#4465
Commits
-------
ab34891 do not add child nodes to EmptyNode instancesFile tree
1 file changed
+7
-0
lines changed- src/Symfony/Bridge/Twig/NodeVisitor
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
0 commit comments