-
Notifications
You must be signed in to change notification settings - Fork 93
feat: drop twig 2 #513
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
feat: drop twig 2 #513
Conversation
ceb1dbc
to
9aff264
Compare
@@ -22,7 +22,7 @@ | |||
"php-translation/symfony-storage": "^2.1", | |||
"php-translation/extractor": "^2.0", | |||
"nyholm/nsa": "^1.1", | |||
"twig/twig": "^2.14.4 || ^3.3", | |||
"twig/twig": "^3.12", |
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.
We just dropped v2, I think it would be cool to keep the min available version of v3 for a while, WDYT? Or do we use something new that is available since 3.12?
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.
Seems that 3.12
mostly adds a lot of deprecations in preparation of 4.x
: https://github.com/twigphp/Twig/blob/3.x/CHANGELOG#L71
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.
yes the twig_callable
was added with twig 3.12 twigphp/Twig@3156d80
So to fix the mass deprecations we must set the minimum to 3.12
9aff264
to
604ecd2
Compare
Friendly reminder. Is there anything else to be done? |
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.
Thanks!
Can we expect merge and new version anytime soon? Thank you very much |
@ZZromanZZ is this PR blocking you in some kind of way? Can't imagine how dropping support could do that. |
Ideally, we need to fix tests to be sure nothing is broken with the changes. We can do it here or probably better to do it in a separate PR. Any volunteers for this? Merging and releasing with completely red tests is an unstable way. As soon as we have green tests - I will be happy to merge and release. |
604ecd2
to
d5e60d8
Compare
d5e60d8
to
98088f9
Compare
98088f9
to
a70c38f
Compare
No i will rebase this. I Hope later today |
No description provided.