Skip to content

Commit 6d040c6

Browse files
committed
fixed CS
1 parent b057104 commit 6d040c6

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

DependencyInjection/MainConfiguration.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@ private function addProvidersSection(ArrayNodeDefinition $rootNode)
309309
'memory' => array(
310310
'users' => array(
311311
'foo' => array('password' => 'foo', 'roles' => 'ROLE_USER'),
312-
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]')
312+
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]'),
313313
),
314-
)
314+
),
315315
),
316-
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username'))
316+
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username')),
317317
))
318318
->disallowNewKeysInSubsequentConfigs()
319319
->isRequired()
@@ -370,8 +370,8 @@ private function addEncodersSection(ArrayNodeDefinition $rootNode)
370370
'Acme\DemoBundle\Entity\User2' => array(
371371
'algorithm' => 'sha512',
372372
'encode_as_base64' => 'true',
373-
'iterations'=> 5000
374-
)
373+
'iterations' => 5000,
374+
),
375375
))
376376
->requiresAtLeastOneElement()
377377
->useAttributeAsKey('class')

DependencyInjection/Security/Factory/RememberMeFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function create(ContainerBuilder $container, $id, $config, $userProvider,
6161

6262
if (isset($config['token_provider'])) {
6363
$rememberMeServices->addMethodCall('setTokenProvider', array(
64-
new Reference($config['token_provider'])
64+
new Reference($config['token_provider']),
6565
));
6666
}
6767

DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private function configureDbalAclProvider(array $config, ContainerBuilder $conta
136136
->addTag('doctrine.event_listener', array(
137137
'connection' => $config['connection'],
138138
'event' => 'postGenerateSchema',
139-
'lazy' => true
139+
'lazy' => true,
140140
))
141141
;
142142

Tests/DependencyInjection/Fixtures/php/custom_acl_provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
$container->loadFromExtension('security', array(
66
'acl' => array(
77
'provider' => 'foo',
8-
)
8+
),
99
));

Tests/DependencyInjection/Fixtures/php/merge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
'role_hierarchy' => array(
1818
'FOO' => array('MOO'),
19-
)
19+
),
2020
));

Tests/DependencyInjection/Fixtures/php/merge_import.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
'main' => array(
66
'form_login' => array(
77
'login_path' => '/login',
8-
)
9-
)
8+
),
9+
),
1010
),
1111
'role_hierarchy' => array(
1212
'FOO' => 'BAR',

Tests/DependencyInjection/SecurityExtensionTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public function testInvalidCheckPath()
3535
'pattern' => '/secured_area/.*',
3636
'form_login' => array(
3737
'check_path' => '/some_area/login_check',
38-
)
39-
)
40-
)
38+
),
39+
),
40+
),
4141
));
4242

4343
$container->compile();
@@ -59,8 +59,8 @@ public function testFirewallWithoutAuthenticationListener()
5959
'firewalls' => array(
6060
'some_firewall' => array(
6161
'pattern' => '/.*',
62-
)
63-
)
62+
),
63+
),
6464
));
6565

6666
$container->compile();

0 commit comments

Comments
 (0)