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.
This commit is contained in:
Christian Flothmann 2014-12-12 19:44:55 +01:00
parent e38b8e68bb
commit 697ce4d794

View File

@ -80,13 +80,13 @@ class SecurityExtensionTest extends \PHPUnit_Framework_TestCase
$container->loadFromExtension('security', array( $container->loadFromExtension('security', array(
'providers' => array( 'providers' => array(
'my_foo' => array('foo' => []), 'my_foo' => array('foo' => array()),
), ),
'firewalls' => array( 'firewalls' => array(
'some_firewall' => array( 'some_firewall' => array(
'pattern' => '/.*', 'pattern' => '/.*',
'http_basic' => [], 'http_basic' => array(),
), ),
), ),
)); ));