8000 minor #12962 [SecurityBundle] remove short array syntax (xabbuh) · symfony/symfony@503c760 · GitHub
[go: up one dir, main page]

Skip to content

Commit 503c760

Browse files
committed
minor #12962 [SecurityBundle] remove short array syntax (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [SecurityBundle] remove short array syntax | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | The short array syntax was introduced in PHP 5.4 and therefore leads to failing tests when executed in PHP 5.3 environments. Commits ------- 697ce4d remove short array syntax
2 parents e38b8e6 + 697ce4d commit 503c760

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)
0