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
use namespaced twig classes #127
Conversation
Please merge this commit @weaverryan to make it compatible with twig 3 & sf 5. Thank you! |
There seems to be a problem with this commit? I added this into my composer.json:
Installation:
I have the latest Twig3 & SF5.0.2 installed. |
I have found a working solution, changes on DateTimeFormatter.php: Line 5 old: Line 5 new: Line 17 old: Line 17 new: I don't get any errors now and the translation process is working fine. |
Thank you @zaggi-iwnl! |
made a mistake in the previous pr, this should be okay now.
this fixes #125, fixes #122 and makes the bundle work for twig 3.x.
see https://symfony.com/blog/preparing-your-applications-for-twig-3