-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[TwigBridge] Fix deprecation on twig 2.9 #31281
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
Conversation
b16f55b
to
4c6e90a
Compare
4c6e90a
to
ac8256b
Compare
seeing https://github.com/twigphp/Twig/blob/2e68b5fdc4b57860241528b4961cbbb5d3c7a917/src/NodeVisitor/NodeVisitorInterface.php#L34 was a bit confusing, it includes the deprecated type (false) still right? edit: oh it's fixed in the 3.x branch 🤔 |
src/Symfony/Bridge/Twig/NodeVisitor/TranslationDefaultDomainNodeVisitor.php
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the tiny suggestion made by @ro0NL (looks like it doesn't matter for 1.40 as the deprecation is not part of the 1.x
branch)
Thank you @chalasr. |
This PR was merged into the 3.4 branch. Discussion ---------- [TwigBridge] Fix deprecation on twig 2.9 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes$ | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a should make travis green Commits ------- ac8256b [TwigBridge] Fix deprecation on twig 2.9
This PR was merged into the 3.4 branch. Discussion ---------- [TwigBridge] Require Twig ^1.40|^2.9 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | n/a | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Reverts #31281 Commits ------- 0e29e39 [TwigBridge] Require twig ^1.40|^2.9
should make travis green