Skip to content

Commit c1a323e

Browse files
committed
Thanks fabbot!
1 parent 650b906 commit c1a323e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

DependencyInjection/Security/Factory/GuardAuthenticationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Symfony\Component\DependencyInjection\Reference;
99

1010
/**
11-
* Configures the "guard" authentication provider key under a firewall
11+
* Configures the "guard" authentication provider key under a firewall.
1212
*
1313
* @author Ryan Weaver <weaverryan@gmail.com>
1414
*/

Tests/DependencyInjection/Security/Factory/GuardAuthenticationFactoryTest.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ public function getValidConfigurationTests()
5959
array(
6060
'authenticators' => array('authenticator1', 'authenticator2'),
6161
'provider' => 'some_provider',
62-
'entry_point' => 'the_entry_point'
62+
'entry_point' => 'the_entry_point',
6363
),
6464
array(
6565
'authenticators' => array('authenticator1', 'authenticator2'),
6666
'provider' => 'some_provider',
67-
'entry_point' => 'the_entry_point'
68-
)
67+
'entry_point' => 'the_entry_point',
68+
),
6969
);
7070

7171
// testing xml config fix: authenticator -> authenticators
@@ -76,7 +76,7 @@ public function getValidConfigurationTests()
7676
array(
7777
'authenticators' => array('authenticator1', 'authenticator2'),
7878
'entry_point' => null,
79-
)
79+
),
8080
);
8181

8282
return $tests;
@@ -88,7 +88,7 @@ public function getInvalidConfigurationTests()
8888

8989
// testing not empty
9090
$tests[] = array(
91-
array('authenticators' => array())
91+
array('authenticators' => array()),
9292
);
9393

9494
return $tests;
@@ -108,7 +108,7 @@ public function testBasicCreate()
108108
$this->assertEquals(array(
109109
'index_0' => array(new Reference('authenticator123')),
110110
'index_1' => new Reference('my_user_provider'),
111-
'index_2' => 'my_firewall'
111+
'index_2' => 'my_firewall',
112112
), $providerDefinition->getArguments());
113113

114114
$listenerDefinition = $container->getDefinition('security.authentication.listener.guard.my_firewall');
@@ -153,7 +153,6 @@ public function testMultipleAuthenticatorsRequiresEntryPoint()
153153
$this->executeCreate($config, null);
154154
}
155155

156-
157156
public function testCreateWithEntryPoint()
158157
{
159158
// any existing default entry point is used

0 commit comments

Comments
 (0)