From 0067948c2c5370952b742052a7cca0c0fded4144 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sat, 30 Sep 2017 20:09:08 +0200 Subject: [PATCH] [SecurityBundle] Remove dead code --- .../SecurityBundle/DependencyInjection/SecurityExtension.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php index 5c2bf3278c8de..2b886d93a998a 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php @@ -266,10 +266,6 @@ private function createFirewall(ContainerBuilder $container, $id, $firewall, &$a } $defaultProvider = reset($providerIds); - - if (count($providerIds) > 1) { - @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); - } } $config->replaceArgument(5, $defaultProvider);