Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cebedd7

Browse filesBrowse files
author
Robin Chalas
committed
minor #24386 [SecurityBundle] Remove dead code (chalasr)
This PR was merged into the 4.0-dev branch. Discussion ---------- [SecurityBundle] Remove dead code | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 0067948 [SecurityBundle] Remove dead code
2 parents da2231e + 0067948 commit cebedd7
Copy full SHA for cebedd7

File tree

1 file changed

+0
-4
lines changed
Filter options

1 file changed

+0
-4
lines changed

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,6 @@ private function createFirewall(ContainerBuilder $container, $id, $firewall, &$a
266266
}
267267

268268
$defaultProvider = reset($providerIds);
269-
270-
if (count($providerIds) > 1) {
271-
@trigger_error(sprintf('Firewall "%s" has no "provider" set but multiple providers exist. Using the first configured provider (%s) is deprecated since 3.4 and will throw an exception in 4.0, set the "provider" key on the firewall instead.', $id, key($providerIds)), E_USER_DEPRECATED);
272-
}
273269
}
274270

275271
$config->replaceArgument(5, $defaultProvider);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.