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()
367
367
368
368
public function testRenderViewTwig ()
369
369
{
370
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
370
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
371
371
$ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
372
372
373
373
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -383,7 +383,7 @@ public function testRenderViewTwig()
383
383
384
384
public function testRenderTwig ()
385
385
{
386
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
386
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
387
387
$ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
388
388
389
389
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -399,7 +399,7 @@ public function testRenderTwig()
399
399
400
400
public function testStreamTwig ()
401
401
{
402
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
402
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
403
403
404
404
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
405
405
$ 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
22
22
{
23
23
public function testTwig ()
24
24
{
25
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
25
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
26
26
$ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
27
27
28
28
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
Original file line number Diff line number Diff line change 54
54
"symfony/property-info" : " ~3.1" ,
55
55
"doctrine/annotations" : " ~1.0" ,
56
56
"phpdocumentor/reflection-docblock" : " ^3.0" ,
57
- "twig/twig" : " ~1.26 |~2.0 " ,
57
+ "twig/twig" : " ~1.34 |~2.4 " ,
58
58
"sensio/framework-extra-bundle" : " ^3.0.2"
59
59
},
60
60
"conflict" : {
You can’t perform that action at this time.
0 commit comments