Skip to content

[TwigBridge] Avoid calling deprecated mergeGlobals() #58207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

derrabus
Copy link
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
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.

@derrabus derrabus merged commit adc87ad into symfony:5.4 Sep 9, 2024
10 of 12 checks passed
@derrabus derrabus deleted the bugfix/merge-globals branch September 9, 2024 08:12
This was referenced Sep 21, 2024
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