Rasanga / FlashAlertBundle

Simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript. https://packagist.org/packages/ras/flash-alert-bundle
http://rasanga.github.io/FlashAlertBundle
MIT License
23 stars 8 forks source link

Twig Deprecation Warning #17

Open cristoforocervino opened 7 years ago

cristoforocervino commented 7 years ago

Just after installing your bundle in my Symfony 3.2 project, I got this deprecation warning: The Twig_Function_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead.

This is because you use the Twig_function_method class in vendor/ras/flash-alert-bundle/Ras/Bundle/FlashAlertBundle/Twig/FlashAlertsExtension.php:47,50

Are you planning to fix this? Thanks in advance! :)