File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ public function testdenyAccessUnlessGranted()
367367
368368 public function testRenderViewTwig ()
369369 {
370- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
370+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
371371 $ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
372372
373373 $ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -383,7 +383,7 @@ public function testRenderViewTwig()
383383
384384 public function testRenderTwig ()
385385 {
386- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
386+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
387387 $ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
388388
389389 $ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -399,7 +399,7 @@ public function testRenderTwig()
399399
400400 public function testStreamTwig ()
401401 {
402- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
402+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
403403
404404 $ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
405405 $ container ->expects ($ this ->at (0 ))->method ('has ' )->will ($ this ->returnValue (false ));
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class TemplateControllerTest extends TestCase
2222{
2323 public function testTwig ()
2424 {
25- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
25+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
2626 $ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
2727
2828 $ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
Original file line number Diff line number Diff line change 5454 "symfony/property-info" : " ~3.1" ,
5555 "doctrine/annotations" : " ~1.0" ,
5656 "phpdocumentor/reflection-docblock" : " ^3.0" ,
57- "twig/twig" : " ~1.26 |~2.0 " ,
57+ "twig/twig" : " ~1.34 |~2.4 " ,
5858 "sensio/framework-extra-bundle" : " ^3.0.2"
5959 },
6060 "conflict" : {
You can’t perform that action at this time.
0 commit comments