diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-01-14 08:58:06 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-01-14 08:58:06 +0100 |
commit | 08f8eb2f0eb48dee5cb7fbc88824379b4be86769 (patch) | |
tree | c6b86dd35c16566d812f646cbaaf24c63ce630ce | |
parent | fa09cb6bf2d54f26b9769987954e1df8f1a74d6e (diff) | |
parent | 88c64869620ed7e9755f874c5b7176d24aa1e331 (diff) | |
download | symfony-security-08f8eb2f0eb48dee5cb7fbc88824379b4be86769.zip symfony-security-08f8eb2f0eb48dee5cb7fbc88824379b4be86769.tar.gz symfony-security-08f8eb2f0eb48dee5cb7fbc88824379b4be86769.tar.bz2 |
minor #17166 Add placeholders into log messages (hason)
This PR was merged into the 3.1-dev branch.
Discussion
----------
Add placeholders into log messages
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #15753
| License | MIT
| Doc PR |
Commits
-------
c92fcdb 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; |