summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-08-24 08:53:33 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:13:45 +0200
commit5ccfeae19f3bf9238148326f32850672f3fea7e4 (patch)
tree36e1eb54f68768c3f5bf0369d8a4a25a21966e39 /Http
parent3d137c73cd8c6cb584e3f478b52de00e751d2289 (diff)
downloadsymfony-security-5ccfeae19f3bf9238148326f32850672f3fea7e4.zip
symfony-security-5ccfeae19f3bf9238148326f32850672f3fea7e4.tar.gz
symfony-security-5ccfeae19f3bf9238148326f32850672f3fea7e4.tar.bz2
fixes CS
Diffstat (limited to 'Http')
-rw-r--r--Http/Authentication/AuthenticationUtils.php3
-rw-r--r--Http/Authentication/SimpleAuthenticationHandler.php2
-rw-r--r--Http/Firewall/DigestAuthenticationListener.php2
3 files changed, 4 insertions, 3 deletions
diff --git a/Http/Authentication/AuthenticationUtils.php b/Http/Authentication/AuthenticationUtils.php
index 317c8a0..4d5c71a 100644
--- a/Http/Authentication/AuthenticationUtils.php
+++ b/Http/Authentication/AuthenticationUtils.php
@@ -17,7 +17,7 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Core\Security;
/**
- * Extracts Security Errors from Request
+ * Extracts Security Errors from Request.
*
* @author Boris Vujicic <boris.vujicic@gmail.com>
*/
@@ -72,6 +72,7 @@ class AuthenticationUtils
/**
* @return Request
+ *
* @throws \LogicException
*/
private function getRequest()
diff --git a/Http/Authentication/SimpleAuthenticationHandler.php b/Http/Authentication/SimpleAuthenticationHandler.php
index 6a1311f..c5c43f2 100644
--- a/Http/Authentication/SimpleAuthenticationHandler.php
+++ b/Http/Authentication/SimpleAuthenticationHandler.php
@@ -19,7 +19,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface;
/**
- * Class to proxy authentication success/failure handlers
+ * Class to proxy authentication success/failure handlers.
*
* Events are sent to the SimpleAuthenticatorInterface if it implements
* the right interface, otherwise (or if it fails to return a Response)
diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php
index 9a6fbfe..15b71ef 100644
--- a/Http/Firewall/DigestAuthenticationListener.php
+++ b/Http/Firewall/DigestAuthenticationListener.php
@@ -101,7 +101,7 @@ class DigestAuthenticationListener implements ListenerInterface
if ($serverDigestMd5 !== $digestAuth->getResponse()) {
if (null !== $this->logger) {
- $this->logger->debug("Unexpected response from the DigestAuth received; is the header returning a clear text passwords?", array('expected' => $serverDigestMd5, 'received' => $digestAuth->getResponse()));
+ $this->logger->debug('Unexpected response from the DigestAuth received; is the header returning a clear text passwords?', array('expected' => $serverDigestMd5, 'received' => $digestAuth->getResponse()));
}
$this->fail($event, $request, new BadCredentialsException('Incorrect response'));