summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2012-07-09 14:50:58 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2012-07-09 14:54:20 +0200
commit1c06ef124bde94f6b29634801b84ea9fa9149c31 (patch)
treefa4af2ca5aeb42b2b14cb3a3e8213e0c8b864dce /Http
parentf5719bac71c1b44dfdd48ccc9249edfde94c3204 (diff)
downloadsymfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.zip
symfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.tar.gz
symfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.tar.bz2
fixed CS
Diffstat (limited to 'Http')
-rw-r--r--Http/AccessMapInterface.php2
-rw-r--r--Http/Authentication/AuthenticationFailureHandlerInterface.php2
-rw-r--r--Http/Authentication/AuthenticationSuccessHandlerInterface.php2
-rw-r--r--Http/Authorization/AccessDeniedHandlerInterface.php2
-rw-r--r--Http/EntryPoint/AuthenticationEntryPointInterface.php2
-rw-r--r--Http/Firewall/AbstractAuthenticationListener.php2
-rw-r--r--Http/Firewall/AbstractPreAuthenticatedListener.php2
-rw-r--r--Http/Firewall/ListenerInterface.php2
-rw-r--r--Http/FirewallMapInterface.php2
-rw-r--r--Http/Logout/LogoutHandlerInterface.php2
-rw-r--r--Http/Logout/LogoutSuccessHandlerInterface.php2
-rw-r--r--Http/RememberMe/AbstractRememberMeServices.php8
-rw-r--r--Http/RememberMe/RememberMeServicesInterface.php6
-rw-r--r--Http/Session/SessionAuthenticationStrategyInterface.php2
14 files changed, 19 insertions, 19 deletions
diff --git a/Http/AccessMapInterface.php b/Http/AccessMapInterface.php
index dbd7282..7d15fee 100644
--- a/Http/AccessMapInterface.php
+++ b/Http/AccessMapInterface.php
@@ -29,5 +29,5 @@ interface AccessMapInterface
*
* @return array A tuple of security attributes and the required channel
*/
- function getPatterns(Request $request);
+ public function getPatterns(Request $request);
}
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php
index 9cd7496..5bb00de 100644
--- a/Http/Authentication/AuthenticationFailureHandlerInterface.php
+++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php
@@ -35,5 +35,5 @@ interface AuthenticationFailureHandlerInterface
*
* @return Response|null the response to return
*/
- function onAuthenticationFailure(Request $request, AuthenticationException $exception);
+ public function onAuthenticationFailure(Request $request, AuthenticationException $exception);
}
diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
index 8917f3e..bf03cd6 100644
--- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php
+++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
@@ -35,5 +35,5 @@ interface AuthenticationSuccessHandlerInterface
*
* @return Response|null the response to return
*/
- function onAuthenticationSuccess(Request $request, TokenInterface $token);
+ public function onAuthenticationSuccess(Request $request, TokenInterface $token);
}
diff --git a/Http/Authorization/AccessDeniedHandlerInterface.php b/Http/Authorization/AccessDeniedHandlerInterface.php
index 8670cbb..a10a5d0 100644
--- a/Http/Authorization/AccessDeniedHandlerInterface.php
+++ b/Http/Authorization/AccessDeniedHandlerInterface.php
@@ -30,5 +30,5 @@ interface AccessDeniedHandlerInterface
*
* @return Response may return null
*/
- function handle(Request $request, AccessDeniedException $accessDeniedException);
+ public function handle(Request $request, AccessDeniedException $accessDeniedException);
}
diff --git a/Http/EntryPoint/AuthenticationEntryPointInterface.php b/Http/EntryPoint/AuthenticationEntryPointInterface.php
index 9fc3501..d190fc7 100644
--- a/Http/EntryPoint/AuthenticationEntryPointInterface.php
+++ b/Http/EntryPoint/AuthenticationEntryPointInterface.php
@@ -30,5 +30,5 @@ interface AuthenticationEntryPointInterface
*
* @return Response
*/
- function start(Request $request, AuthenticationException $authException = null);
+ public function start(Request $request, AuthenticationException $authException = null);
}
diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php
index 1caaf0a..c9fa328 100644
--- a/Http/Firewall/AbstractAuthenticationListener.php
+++ b/Http/Firewall/AbstractAuthenticationListener.php
@@ -119,7 +119,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
*
* @param GetResponseEvent $event A GetResponseEvent instance
*/
- public final function handle(GetResponseEvent $event)
+ final public function handle(GetResponseEvent $event)
{
$request = $event->getRequest();
diff --git a/Http/Firewall/AbstractPreAuthenticatedListener.php b/Http/Firewall/AbstractPreAuthenticatedListener.php
index 66d0ea1..66041be 100644
--- a/Http/Firewall/AbstractPreAuthenticatedListener.php
+++ b/Http/Firewall/AbstractPreAuthenticatedListener.php
@@ -51,7 +51,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface
*
* @param GetResponseEvent $event A GetResponseEvent instance
*/
- public final function handle(GetResponseEvent $event)
+ final public function handle(GetResponseEvent $event)
{
$request = $event->getRequest();
diff --git a/Http/Firewall/ListenerInterface.php b/Http/Firewall/ListenerInterface.php
index ccde86e..b670474 100644
--- a/Http/Firewall/ListenerInterface.php
+++ b/Http/Firewall/ListenerInterface.php
@@ -25,5 +25,5 @@ interface ListenerInterface
*
* @param GetResponseEvent $event
*/
- function handle(GetResponseEvent $event);
+ public function handle(GetResponseEvent $event);
}
diff --git a/Http/FirewallMapInterface.php b/Http/FirewallMapInterface.php
index 5a42ff1..336125f 100644
--- a/Http/FirewallMapInterface.php
+++ b/Http/FirewallMapInterface.php
@@ -34,5 +34,5 @@ interface FirewallMapInterface
*
* @return array of the format array(array(AuthenticationListener), ExceptionListener)
*/
- function getListeners(Request $request);
+ public function getListeners(Request $request);
}
diff --git a/Http/Logout/LogoutHandlerInterface.php b/Http/Logout/LogoutHandlerInterface.php
index 71be388..5e1cea8 100644
--- a/Http/Logout/LogoutHandlerInterface.php
+++ b/Http/Logout/LogoutHandlerInterface.php
@@ -31,5 +31,5 @@ interface LogoutHandlerInterface
* @param Response $response
* @param TokenInterface $token
*/
- function logout(Request $request, Response $response, TokenInterface $token);
+ public function logout(Request $request, Response $response, TokenInterface $token);
}
diff --git a/Http/Logout/LogoutSuccessHandlerInterface.php b/Http/Logout/LogoutSuccessHandlerInterface.php
index fb1dd64..61642a8 100644
--- a/Http/Logout/LogoutSuccessHandlerInterface.php
+++ b/Http/Logout/LogoutSuccessHandlerInterface.php
@@ -33,5 +33,5 @@ interface LogoutSuccessHandlerInterface
*
* @return Response never null
*/
- function onLogoutSuccess(Request $request);
+ public function onLogoutSuccess(Request $request);
}
diff --git a/Http/RememberMe/AbstractRememberMeServices.php b/Http/RememberMe/AbstractRememberMeServices.php
index d61a6ce..4f7c5b9 100644
--- a/Http/RememberMe/AbstractRememberMeServices.php
+++ b/Http/RememberMe/AbstractRememberMeServices.php
@@ -91,7 +91,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
*
* @return TokenInterface
*/
- public final function autoLogin(Request $request)
+ final public function autoLogin(Request $request)
{
if (null === $cookie = $request->cookies->get($this->options['name'])) {
return;
@@ -156,7 +156,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
*
* @param Request $request
*/
- public final function loginFail(Request $request)
+ final public function loginFail(Request $request)
{
$this->cancelCookie($request);
$this->onLoginFail($request);
@@ -170,7 +170,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
* @param Response $response
* @param TokenInterface $token The token that resulted in a successful authentication
*/
- public final function loginSuccess(Request $request, Response $response, TokenInterface $token)
+ final public function loginSuccess(Request $request, Response $response, TokenInterface $token)
{
if (!$token->getUser() instanceof UserInterface) {
if (null !== $this->logger) {
@@ -221,7 +221,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
*/
abstract protected function onLoginSuccess(Request $request, Response $response, TokenInterface $token);
- protected final function getUserProvider($class)
+ final protected function getUserProvider($class)
{
foreach ($this->userProviders as $provider) {
if ($provider->supportsClass($class)) {
diff --git a/Http/RememberMe/RememberMeServicesInterface.php b/Http/RememberMe/RememberMeServicesInterface.php
index 0497c69..a00dcef 100644
--- a/Http/RememberMe/RememberMeServicesInterface.php
+++ b/Http/RememberMe/RememberMeServicesInterface.php
@@ -51,7 +51,7 @@ interface RememberMeServicesInterface
*
* @return TokenInterface
*/
- function autoLogin(Request $request);
+ public function autoLogin(Request $request);
/**
* Called whenever an interactive authentication attempt was made, but the
@@ -61,7 +61,7 @@ interface RememberMeServicesInterface
*
* @param Request $request
*/
- function loginFail(Request $request);
+ public function loginFail(Request $request);
/**
* Called whenever an interactive authentication attempt is successful
@@ -78,5 +78,5 @@ interface RememberMeServicesInterface
* @param Response $response
* @param TokenInterface $token
*/
- function loginSuccess(Request $request, Response $response, TokenInterface $token);
+ public function loginSuccess(Request $request, Response $response, TokenInterface $token);
}
diff --git a/Http/Session/SessionAuthenticationStrategyInterface.php b/Http/Session/SessionAuthenticationStrategyInterface.php
index 34f5089..2bc292b 100644
--- a/Http/Session/SessionAuthenticationStrategyInterface.php
+++ b/Http/Session/SessionAuthenticationStrategyInterface.php
@@ -33,5 +33,5 @@ interface SessionAuthenticationStrategyInterface
* @param Request $request
* @param TokenInterface $token
*/
- function onAuthentication(Request $request, TokenInterface $token);
+ public function onAuthentication(Request $request, TokenInterface $token);
}