You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,7 +125,7 @@ protected function displayFirewallList(SymfonyStyle $io): void
125
125
126
126
$io->listing($this->firewallNames);
127
127
128
-
$io->comment(sprintf('To view details of a specific firewall, re-run this command with a firewall name. (e.g. <comment>debug:firewall %s</comment>)', $this->getExampleName()));
128
+
$io->comment(\sprintf('To view details of a specific firewall, re-run this command with a firewall name. (e.g. <comment>debug:firewall %s</comment>)', $this->getExampleName()));
thrownewInvalidConfigurationException(sprintf('Because you have multiple authenticators in firewall "%s", you need to set the "entry_point" key to one of your authenticators ("%s") or a service ID implementing "%s". The "entry_point" determines what should happen (e.g. redirect to "/login") when an anonymous user tries to access a protected page.', $firewallName, implode('", "', $entryPointNames), AuthenticationEntryPointInterface::class));
79
+
thrownewInvalidConfigurationException(\sprintf('Because you have multiple authenticators in firewall "%s", you need to set the "entry_point" key to one of your authenticators ("%s") or a service ID implementing "%s". The "entry_point" determines what should happen (e.g. redirect to "/login") when an anonymous user tries to access a protected page.', $firewallName, implode('", "', $entryPointNames), AuthenticationEntryPointInterface::class));
thrownew \LogicException(sprintf('Invalid service definition for custom remember me handler; no service found with ID "%s".', (string) $definition->getArgument(0)));
41
+
thrownew \LogicException(\sprintf('Invalid service definition for custom remember me handler; no service found with ID "%s".', (string) $definition->getArgument(0)));
@@ -212,7 +212,7 @@ private function addFirewallsSection(ArrayNodeDefinition $rootNode, array $facto
212
212
->scalarNode('access_denied_url')->end()
213
213
->scalarNode('access_denied_handler')->end()
214
214
->scalarNode('entry_point')
215
-
->info(sprintf('An enabled authenticator name or a service id that implements "%s"', AuthenticationEntryPointInterface::class))
215
+
->info(\sprintf('An enabled authenticator name or a service id that implements "%s"', AuthenticationEntryPointInterface::class))
216
216
->end()
217
217
->scalarNode('provider')->end()
218
218
->booleanNode('stateless')->defaultFalse()->end()
@@ -313,7 +313,7 @@ private function addFirewallsSection(ArrayNodeDefinition $rootNode, array $facto
313
313
}
314
314
}
315
315
316
-
thrownewInvalidConfigurationException(sprintf('Undefined security Badge class "%s" set in "security.firewall.required_badges".', $requiredBadge));
316
+
thrownewInvalidConfigurationException(\sprintf('Undefined security Badge class "%s" set in "security.firewall.required_badges".', $requiredBadge));
317
317
}, $requiredBadges);
318
318
})
319
319
->end()
@@ -347,7 +347,7 @@ private function addFirewallsSection(ArrayNodeDefinition $rootNode, array $facto
347
347
}
348
348
349
349
if (str_contains($firewall[$k]['check_path'], '/') && !preg_match('#'.$firewall['pattern'].'#', $firewall[$k]['check_path'])) {
350
-
thrownew \LogicException(sprintf('The check_path "%s" for login method "%s" is not matched by the firewall pattern "%s".', $firewall[$k]['check_path'], $k, $firewall['pattern']));
350
+
thrownew \LogicException(\sprintf('The check_path "%s" for login method "%s" is not matched by the firewall pattern "%s".', $firewall[$k]['check_path'], $k, $firewall['pattern']));
0 commit comments