From: Nicolas LÅ“uillet Date: Thu, 21 Apr 2016 20:35:42 +0000 (+0200) Subject: Implement Twig_Extension_GlobalsInterface to remove deprecation X-Git-Tag: 2.1.0~45^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f997ae6afb72e6a2f3d8ff8bd30a354e35696410;p=github%2Fwallabag%2Fwallabag.git Implement Twig_Extension_GlobalsInterface to remove deprecation --- diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index c116248f..6e46c701 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php @@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Twig; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Wallabag\CoreBundle\Repository\EntryRepository; -class WallabagExtension extends \Twig_Extension +class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface { private $tokenStorage; private $repository;