diff options
author | Martin Hasoň <martin.hason@gmail.com> | 2015-10-16 16:24:48 +0200 |
---|---|---|
committer | Martin Hasoň <martin.hason@gmail.com> | 2015-12-29 13:13:49 +0100 |
commit | 88c64869620ed7e9755f874c5b7176d24aa1e331 (patch) | |
tree | b0bcdfbaecfe5567351a238c691bc5746cdfd5d6 | |
parent | a0f25804ea4bad32b0702ffd76a7990e879df666 (diff) | |
download | symfony-security-88c64869620ed7e9755f874c5b7176d24aa1e331.zip symfony-security-88c64869620ed7e9755f874c5b7176d24aa1e331.tar.gz symfony-security-88c64869620ed7e9755f874c5b7176d24aa1e331.tar.bz2 |
Added placeholders to all log messages instead of hardcoded values
-rw-r--r-- | Guard/Firewall/GuardAuthenticationListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Guard/Firewall/GuardAuthenticationListener.php b/Guard/Firewall/GuardAuthenticationListener.php index ed0a36e..59d5d29 100644 --- a/Guard/Firewall/GuardAuthenticationListener.php +++ b/Guard/Firewall/GuardAuthenticationListener.php @@ -78,7 +78,7 @@ class GuardAuthenticationListener implements ListenerInterface if ($event->hasResponse()) { if (null !== $this->logger) { - $this->logger->debug(sprintf('The "%s" authenticator set the response. Any later authenticator will not be called', get_class($guardAuthenticator))); + $this->logger->debug('The "{authenticator}" authenticator set the response. Any later authenticator will not be called', array('authenticator' => get_class($guardAuthenticator))); } break; |