diff --git a/Resources/config/schema/security-1.0.xsd b/Resources/config/schema/security-1.0.xsd index ab4899d7..d3d7752e 100644 --- a/Resources/config/schema/security-1.0.xsd +++ b/Resources/config/schema/security-1.0.xsd @@ -208,6 +208,7 @@ + diff --git a/Security/FirewallAwareTrait.php b/Security/FirewallAwareTrait.php index d4226753..c5f04511 100644 --- a/Security/FirewallAwareTrait.php +++ b/Security/FirewallAwareTrait.php @@ -44,7 +44,7 @@ private function getForFirewall(): object if (!$this->locator->has($firewallName)) { $message = 'No '.$serviceIdentifier.' found for this firewall.'; if (\defined(static::class.'::FIREWALL_OPTION')) { - $message .= sprintf('Did you forget to add a "'.static::FIREWALL_OPTION.'" key under your "%s" firewall?', $firewallName); + $message .= sprintf(' Did you forget to add a "'.static::FIREWALL_OPTION.'" key under your "%s" firewall?', $firewallName); } throw new \LogicException($message); diff --git a/Tests/DependencyInjection/Fixtures/xml/container1.xml b/Tests/DependencyInjection/Fixtures/xml/container1.xml index 66dd30ea..f54c5064 100644 --- a/Tests/DependencyInjection/Fixtures/xml/container1.xml +++ b/Tests/DependencyInjection/Fixtures/xml/container1.xml @@ -64,9 +64,8 @@ - + - app.user_checker ROLE_USER diff --git a/Tests/DependencyInjection/Fixtures/xml/firewall_provider.xml b/Tests/DependencyInjection/Fixtures/xml/firewall_provider.xml index 52a64d2f..e2f0e986 100644 --- a/Tests/DependencyInjection/Fixtures/xml/firewall_provider.xml +++ b/Tests/DependencyInjection/Fixtures/xml/firewall_provider.xml @@ -15,7 +15,7 @@ - + diff --git a/Tests/DependencyInjection/Fixtures/xml/firewall_undefined_provider.xml b/Tests/DependencyInjection/Fixtures/xml/firewall_undefined_provider.xml index a61d597f..e7f3e687 100644 --- a/Tests/DependencyInjection/Fixtures/xml/firewall_undefined_provider.xml +++ b/Tests/DependencyInjection/Fixtures/xml/firewall_undefined_provider.xml @@ -15,7 +15,7 @@ - + diff --git a/Tests/DependencyInjection/Fixtures/xml/listener_provider.xml b/Tests/DependencyInjection/Fixtures/xml/listener_provider.xml index 1ba3c5e5..462136c6 100644 --- a/Tests/DependencyInjection/Fixtures/xml/listener_provider.xml +++ b/Tests/DependencyInjection/Fixtures/xml/listener_provider.xml @@ -15,7 +15,7 @@ - + diff --git a/Tests/DependencyInjection/Fixtures/xml/listener_undefined_provider.xml b/Tests/DependencyInjection/Fixtures/xml/listener_undefined_provider.xml index 314f25d2..cb82f2cc 100644 --- a/Tests/DependencyInjection/Fixtures/xml/listener_undefined_provider.xml +++ b/Tests/DependencyInjection/Fixtures/xml/listener_undefined_provider.xml @@ -15,7 +15,7 @@ - + diff --git a/Tests/DependencyInjection/Fixtures/xml/no_custom_user_checker.xml b/Tests/DependencyInjection/Fixtures/xml/no_custom_user_checker.xml index 6b51f236..2e0e75ea 100644 --- a/Tests/DependencyInjection/Fixtures/xml/no_custom_user_checker.xml +++ b/Tests/DependencyInjection/Fixtures/xml/no_custom_user_checker.xml @@ -22,7 +22,6 @@ -