From add409b8dd2c75078b145991b77c3d9e1947e78c Mon Sep 17 00:00:00 2001 From: Toni Rudolf Date: Tue, 7 Mar 2017 11:03:04 +0100 Subject: [PATCH] do not use short array syntax because of php <= 5.3 --- Tests/Functional/Twig/UrlAutoConverterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Functional/Twig/UrlAutoConverterTest.php b/Tests/Functional/Twig/UrlAutoConverterTest.php index 90d6980..64f7868 100644 --- a/Tests/Functional/Twig/UrlAutoConverterTest.php +++ b/Tests/Functional/Twig/UrlAutoConverterTest.php @@ -9,7 +9,7 @@ class UrlAutoConverterTest extends \PHPUnit_Framework_TestCase public function testEscapedHtml() { if (method_exists('\Twig_Environment', 'createTemplate')) { // twig > 2.0 - $twig = new \Twig_Environment(new \Twig_Loader_Array([])); + $twig = new \Twig_Environment(new \Twig_Loader_Array()); $twig->addExtension(new UrlAutoConverterTwigExtension()); $body = 'Hello name!';