Skip to content

Commit 697ce4d

Browse files
committed
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.
1 parent e38b8e6 commit 697ce4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ public function testFirewallWithInvalidUserProvider()
8080

8181
$container->loadFromExtension('security', array(
8282
'providers' => array(
83-
'my_foo' => array('foo' => []),
83+
'my_foo' => array('foo' => array()),
8484
),
8585

8686
'firewalls' => array(
8787
'some_firewall' => array(
8888
'pattern' => '/.*',
89-
'http_basic' => [],
89+
'http_basic' => array(),
9090
),
9191
),
9292
));

0 commit comments

Comments
 (0)