Skip to content

Commit

Permalink
Fix Twig deprecation notice by implementing Twig_Extension_GlobalsInt…
Browse files Browse the repository at this point in the history
…erface
  • Loading branch information
mpdude committed Aug 25, 2017
1 parent c0b40cf commit 6343016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Twig/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use Symfony\Component\DependencyInjection\ContainerInterface;

class Extension extends \Twig_Extension
class Extension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
{

protected $legacyApplication;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"symfony/http-foundation": "~2.2",
"doctrine/annotations": "~1.0",
"webfactory/dom": "~1.0, >= 1.0.15",
"twig/twig": "~1.10"
"twig/twig": "^1.23"

}

Expand Down

0 comments on commit 6343016

Please sign in to comment.