Closed romainmenke closed 4 years ago
Fixes : "Using the "Twig_Extension_StringLoader" class is deprecated since Twig version 2.7, use "Twig\Extension\StringLoaderExtension" instead."
"Using the "Twig_Extension_StringLoader" class is deprecated since Twig version 2.7, use "Twig\Extension\StringLoaderExtension" instead."
Not sure if these need a class_exists check and fallback to the old naming? Feedback welcome!
class_exists
@romainmenke — I think this works! My only concern is ensuring that Twig 1.x has all the same classes. I'll do a quick check on that to confirm
Verified! Thanks @romainmenke
Fixes :
"Using the "Twig_Extension_StringLoader" class is deprecated since Twig version 2.7, use "Twig\Extension\StringLoaderExtension" instead."
Not sure if these need a
class_exists
check and fallback to the old naming? Feedback welcome!