Skip to content

Commit 9cf4ab7

Browse files
committed
minor #15920 Guard minor tweaks (weaverryan)
This PR was merged into the 2.8 branch. Discussion ---------- Guard minor tweaks | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Various completely minor things, most from suggestions on #14673 Commits ------- 869d5a7 tweaking message related to configuration edge case that we want to be helpful with da4758a Minor tweaks - lowering the required security-http requirement and nulling out a test field
2 parents 936e1b3 + 869d5a7 commit 9cf4ab7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/GuardAuthenticationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private function determineEntryPoint($defaultEntryPointId, array $config)
9494
// explode if they've configured the entry_point, but there is already one
9595
if ($config['entry_point']) {
9696
throw new \LogicException(sprintf(
97-
'The guard authentication provider cannot use the "%s" entry_point because another entry point is already configured by another provider! Either remove the other provider or move the entry_point configuration as a root key under your firewall',
97+
'The guard authentication provider cannot use the "%s" entry_point because another entry point is already configured by another provider! Either remove the other provider or move the entry_point configuration as a root key under your firewall (i.e. at the same level as "guard").',
9898
$config['entry_point']
9999
));
100100
}

src/Symfony/Component/Security/Guard/Tests/Firewall/GuardAuthenticationListenerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,5 +218,6 @@ protected function tearDown()
218218
$this->event = null;
219219
$this->logger = null;
220220
$this->request = null;
221+
$this->rememberMeServices = null;
221222
}
222223
}

src/Symfony/Component/Security/Guard/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=5.3.9",
2020
"symfony/security-core": "~2.8|~3.0.0",
21-
"symfony/security-http": "~2.8|~3.0.0"
21+
"symfony/security-http": "~2.7|~3.0.0"
2222
},
2323
"require-dev": {
2424
"symfony/phpunit-bridge": "~2.8|~3.0.0",

0 commit comments

Comments
 (0)