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

fixed deprecated instances #15

Closed luiztiago closed 8 years ago

luiztiago commented 8 years ago

Fixed these errors:

Using an instance of "Twig_Function_Method" for function "render_flash_alerts" is deprecated since version 1.21. Use Twig_SimpleFunction instead: 3x
    2x in DefaultControllerTest::testIndex from BvWholesale\Bundle\AdminBundle\Tests\Controller
    1x in DefaultControllerTest::testIndex from BvWholesale\Bundle\CoreBundle\Tests\Controller

Using an instance of "Twig_Function_Method" for function "get_alert_publisher" is deprecated since version 1.21. Use Twig_SimpleFunction instead: 3x
    2x in DefaultControllerTest::testIndex from BvWholesale\Bundle\AdminBundle\Tests\Controller
    1x in DefaultControllerTest::testIndex from BvWholesale\Bundle\CoreBundle\Tests\Controller

The Twig_Function class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead: 1x
    1x in DefaultControllerTest::testIndex from BvWholesale\Bundle\AdminBundle\Tests\Controller

The Twig_Function_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead: 1x
    1x in DefaultControllerTest::testIndex from BvWholesale\Bundle\AdminBundle\Tests\Controller