You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your bundle in a symfony (2.8) project, where it works fine, but i'm having deprecated calls in the logs (which are not blocking yet, but who knows if i upgrade my package versions) which i wish to get rid of :
Using an instance of "Twig_Function_Method" for function "form_javascript" is deprecated since version 1.21. Use Twig_SimpleFunction instead
I'm using your bundle in a symfony (2.8) project, where it works fine, but i'm having deprecated calls in the logs (which are not blocking yet, but who knows if i upgrade my package versions) which i wish to get rid of :
Using an instance of "Twig_Function_Method" for function "form_javascript" is deprecated since version 1.21. Use Twig_SimpleFunction instead
In my form i use, as you indicate :
I looked around a little, and i saw that in mablae/datetimepicker-bundle/src/Twig/Extension/FormExtension.php
maybe it should be replaced by something like :
new \Twig_SimpleFunction('form_javascript', array($this, 'renderJavascript'), array('is_safe' => array('html'))),
But ovbiously, i don't know if there would be full backward compatibility
Thanks
The text was updated successfully, but these errors were encountered: