fixed Twig deprecation notices

This commit is contained in:
Fabien Potencier 2015-10-24 22:25:19 +02:00
parent 297a017f2e
commit 1bdd127938
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
"require": {
"php": ">=5.3.3",
"doctrine/common": "~2.4",
"twig/twig": "~1.20|~2.0",
"twig/twig": "~1.23|~2.0",
"psr/log": "~1.0"
},
"replace": {

View File

@ -21,7 +21,7 @@ use Symfony\Component\Form\Extension\Core\View\ChoiceView;
* @author Fabien Potencier <fabien@symfony.com>
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class FormExtension extends \Twig_Extension
class FormExtension extends \Twig_Extension implements \Twig_Extension_InitRuntimeInterface
{
/**
* This property is public so that it can be accessed directly from compiled

View File

@ -17,7 +17,7 @@
],
"require": {
"php": ">=5.3.3",
"twig/twig": "~1.20|~2.0"
"twig/twig": "~1.23|~2.0"
},
"require-dev": {
"symfony/finder": "~2.3",

View File

@ -34,7 +34,7 @@
"symfony/process": "~2.0,>=2.0.5",
"symfony/validator": "~2.2",
"symfony/yaml": "~2.0,>=2.0.5",
"twig/twig": "~1.20|~2.0"
"twig/twig": "~1.23|~2.0"
},
"autoload": {
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }