Closed
Description
Hi,
I wanted to update Twig from 2.6.2 to 2.7.0 because of a security issue:
However, I'm facing a compatibility issue:
Since Twig 2.7.0, they don't use class aliases anymore (e.g.: Twig_Environment
) but class namespaces (e.g. Twig\Environment
) directly, refs:
- https://symfony.com/blog/new-in-twig-namespaced-classes
- Switch to namespaces (2.x) twigphp/Twig#2863
- Move some more PSR0 class names to namespaced ones twigphp/Twig#2869
- changelog
I tried to fork and replace class aliases by class namespaces, but it's out of my scope.
I don't have the time to do it, I don't know about your breaking changes policy, I don't know if I should update the .travis.yml
to use a specific version of Twig... 😕
Thanks!
Metadata
Metadata
Assignees
Labels
No labels