File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function testdenyAccessUnlessGranted()
161
161
162
162
public function testRenderViewTwig ()
163
163
{
164
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
164
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
165
165
$ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
166
166
167
167
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -177,7 +177,7 @@ public function testRenderViewTwig()
177
177
178
178
public function testRenderTwig ()
179
179
{
180
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
180
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
181
181
$ twig ->expects ($ this ->once ())->method ('render ' )->willReturn ('bar ' );
182
182
183
183
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
@@ -193,7 +193,7 @@ public function testRenderTwig()
193
193
194
194
public function testStreamTwig ()
195
195
{
196
- $ twig = $ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ();
196
+ $ twig = $ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ();
197
197
198
198
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
199
199
$ 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 @@ -25,7 +25,7 @@ public function testRender()
25
25
$ container = $ this ->getMockBuilder ('Symfony\Component\DependencyInjection\ContainerInterface ' )->getMock ();
26
26
$ container ->expects ($ this ->once ())
27
27
->method ('get ' )
28
- ->will ($ this ->returnValue ($ this ->getMockBuilder ('\Twig_Environment ' )->disableOriginalConstructor ()->getMock ()))
28
+ ->will ($ this ->returnValue ($ this ->getMockBuilder ('Twig\Environment ' )->disableOriginalConstructor ()->getMock ()))
29
29
;
30
30
$ renderer = new ContainerAwareHIncludeFragmentRenderer ($ container );
31
31
$ renderer ->render ('/ ' , Request::create ('/ ' ));
Original file line number Diff line number Diff line change 25
25
"symfony/event-dispatcher" : " ~2.8|~3.0.0" ,
26
26
"symfony/finder" : " ^2.0.5|~3.0.0" ,
27
27
"symfony/http-foundation" : " ~2.7" ,
28
- "symfony/http-kernel" : " ^2.8.18 " ,
28
+ "symfony/http-kernel" : " ^2.8.22 " ,
29
29
"symfony/polyfill-mbstring" : " ~1.0" ,
30
30
"symfony/filesystem" : " ~2.3|~3.0.0" ,
31
31
"symfony/routing" : " ^2.8.17" ,
51
51
"symfony/yaml" : " ^2.0.5|~3.0.0" ,
52
52
"symfony/property-info" : " ~2.8|~3.0.0" ,
53
53
"phpdocumentor/reflection" : " ^1.0.7" ,
54
- "twig/twig" : " ~1.23 |~2.0 " ,
54
+ "twig/twig" : " ~1.34 |~2.4 " ,
55
55
"sensio/framework-extra-bundle" : " ^3.0.2"
56
56
},
57
57
"conflict" : {
You can’t perform that action at this time.
0 commit comments