From 697ce4d7941c8144aa5b902066cff628a5f23adc Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 12 Dec 2014 19:44:55 +0100 Subject: [PATCH] remove short array syntax The short array syntax was introduced in PHP 5.4 and therefore leads to failing tests when executed in PHP 5.3 environments. --- .../Tests/DependencyInjection/SecurityExtensionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php index 378b678546..52db392001 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php +++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php @@ -80,13 +80,13 @@ class SecurityExtensionTest extends \PHPUnit_Framework_TestCase $container->loadFromExtension('security', array( 'providers' => array( - 'my_foo' => array('foo' => []), + 'my_foo' => array('foo' => array()), ), 'firewalls' => array( 'some_firewall' => array( 'pattern' => '/.*', - 'http_basic' => [], + 'http_basic' => array(), ), ), ));