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:
parent
e38b8e68bb
commit
697ce4d794
@ -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(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
Reference in New Issue
Block a user