Open akovalyov opened 8 years ago
Reason: https://github.com/KnpLabs/rad-auto-registration/blame/master/src/Knp/Rad/AutoRegistration/Bundle/AutoRegistrationBundle.php#L46. That's why twig exts are being registered twice. But why was it added? @AntoineLelaisant @PedroTroller maybe you have an idea?
Given symfony 3.0 and the following config:
The possibility to register the same extension twice ("$extension") is deprecated since version 1.23 and will be removed in Twig 2.0. Use proper PHP inheritance instead
. for each extension available in the codebase. The most irritating thing is that twig extensions autoregistration is not enabled. How can we fix it?