Commit adc87ad
committed
bug symfony#58207 [TwigBridge] Avoid calling deprecated mergeGlobals() (derrabus)
This PR was merged into the 5.4 branch.
Discussion
----------
[TwigBridge] Avoid calling deprecated mergeGlobals()
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Follows twigphp/Twig#4283
| License | MIT
`getGlobals()` is documented as the official replacement for `mergeGlobals()` despite being flagged ``@internal``. I've left a comment on the upstream PR.
Commits
-------
2883331 [TwigBridge] Avoid calling deprecated mergeGlobals()1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments