File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
tests/Bridge/Twig/Extension Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4141 "symfony/translation-contracts" : " ^2.0" ,
4242 "symfony/twig-bundle" : " ^4.2 || ^5.0" ,
4343 "symfony/validator" : " ^4.3.6 || ^5.0" ,
44- "twig/twig" : " ^2.4.2"
44+ "twig/twig" : " ^2.4.2 || ^3.0 "
4545 },
4646 "suggest" : {
4747 "symfony/form" : " To use enum form type" ,
Original file line number Diff line number Diff line change 88use PHPUnit \Framework \TestCase ;
99use Symfony \Contracts \Translation \TranslatorInterface ;
1010use Twig \Environment ;
11+ use Twig \Loader \LoaderInterface ;
1112use Twig \TwigFilter ;
1213
1314/**
@@ -36,7 +37,7 @@ protected function setUp()
3637
3738 public function testEnvironment ()
3839 {
39- $ twig = new Environment ($ this ->createMock (\Twig_LoaderInterface ::class));
40+ $ twig = new Environment ($ this ->createMock (LoaderInterface ::class));
4041 $ twig ->addExtension ($ this ->extension );
4142
4243 $ this ->assertInstanceOf (TwigFilter::class, $ twig ->getFilter ('enum_label ' ));
You can’t perform that action at this time.
0 commit comments