Skip to content

[TwigBridge] Avoid calling deprecated mergeGlobals()#58207

Merged
derrabus merged 1 commit intosymfony:5.4from
derrabus:bugfix/merge-globals
Sep 9, 2024
Merged

[TwigBridge] Avoid calling deprecated mergeGlobals()#58207
derrabus merged 1 commit intosymfony:5.4from
derrabus:bugfix/merge-globals

Conversation

@derrabus
Copy link
Copy Markdown
Member

@derrabus derrabus commented Sep 9, 2024

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.

@derrabus
Copy link
Copy Markdown
Member Author

derrabus commented Sep 9, 2024

The test failure on high-deps is the test suite of Symfony 4.4 failing with current Symfony 5.4 deps and Twig 3.12 and later. These failures happen without my changes as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants