Skip to content
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

\Twig_Extension_InitRuntimeInterface not recognized? #114

Open
althaus opened this issue Apr 25, 2016 · 0 comments
Open

\Twig_Extension_InitRuntimeInterface not recognized? #114

althaus opened this issue Apr 25, 2016 · 0 comments

Comments

@althaus
Copy link

althaus commented Apr 25, 2016

Hey,

first: thanks for your nifty tool. It really eases upgrading. :)

I've got a custom TwigExtension which uses the @\Twig_Environment@ in a lot of places. Instead of refactoring all filters/functions I've implemented the @\Twig_Extension_InitRuntimeInterface@ as statet in the upgrade docs. Afterwards The deprecation detector still claims a deprecation.:

Overriding deprecated method Acme\HelloBundle\Twig\Extension\AcmeExtension->initRuntime()
since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead

Cheers
Matthias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant