zendframework / zend-expressive-twigrenderer

Twig integration for Expressive
BSD 3-Clause "New" or "Revised" License
25 stars 14 forks source link

Remove deprecated Twig_ExtensionInterface::getName() method #19

Closed geerteltink closed 7 years ago

geerteltink commented 7 years ago

This PR removes the Twig_ExtensionInterface::getName() and increases the minimum required Twig version to 1.26.

I've made this PR on top of zendframework/zend-expressive-twigrenderer#15 since a lot of changes have been made to the tests in there. This should make it easier to merge (I hope).

As of Twig 1.26, the Twig_ExtensionInterface::getName() method is deprecated and it is not used internally anymore. It will be removed in Twig 2.0. To prevent possible issues with older versions, the minimum required Twig version is increased.

weierophinney commented 7 years ago

Thanks, @xtreamwayz; merged to develop without issues.