Skip to content

Commit 8b43eb4

Browse files
Merge branch '2.7' into 2.8
* 2.7: (22 commits) Tests and fix for issue in array model data in EntityType field with multiple=true [Form] Fixed PercentToLocalizedStringTransformer to accept both comma and dot as decimal separator, if possible removed useless PHPDoc [Form] Fix FormInterface::submit() annotation PdoSessionHandler: fix advisory lock for pgsql when session.sid_bits_per_character > 4 HttpCache does not consider ESI resources in HEAD requests Fix translation for "This field was not expected" [Routing] Enhance Route(Collection) docblocks Added improvement for accuracy in MoneyToLocalizedStringTransformer. Removed unused private property Use correct verb form in the pull request template Use PHP_MAXPATHLEN in Filesystem. Added null as explicit return type (?TokenInterface) [FrameworkBundle] Fix Routing\DelegatingLoader Render all line breaks according to the exception message [Form] Fix phpdoc [DI] remove confusing code [Form] Fixed GroupSequence with "constraints" option [Validator] Clarify UUID validator behavior [Filesystem] Fixed makePathRelative ...
2 parents f839ab7 + 67cc8a9 commit 8b43eb4

19 files changed

+1
-41
lines changed

AccessMap.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class AccessMap implements AccessMapInterface
2525
private $map = array();
2626

2727
/**
28-
* Constructor.
29-
*
3028
* @param RequestMatcherInterface $requestMatcher A RequestMatcherInterface instance
3129
* @param array $attributes An array of attributes to pass to the access decision manager (like roles)
3230
* @param string|null $channel The channel to enforce (http, https, or null)

Authentication/CustomAuthenticationFailureHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class CustomAuthenticationFailureHandler implements AuthenticationFailureHandler
2222
private $handler;
2323

2424
/**
25-
* Constructor.
26-
*
2725
* @param AuthenticationFailureHandlerInterface $handler An AuthenticationFailureHandlerInterface instance
2826
* @param array $options Options for processing a successful authentication attempt
2927
*/

Authentication/CustomAuthenticationSuccessHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler
2222
private $handler;
2323

2424
/**
25-
* Constructor.
26-
*
2725
* @param AuthenticationSuccessHandlerInterface $handler An AuthenticationSuccessHandlerInterface instance
2826
* @param array $options Options for processing a successful authentication attempt
2927
* @param string $providerKey The provider key

Authentication/DefaultAuthenticationFailureHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class DefaultAuthenticationFailureHandler implements AuthenticationFailureHandle
4343
);
4444

4545
/**
46-
* Constructor.
47-
*
4846
* @param HttpKernelInterface $httpKernel
4947
* @param HttpUtils $httpUtils
5048
* @param array $options Options for processing a failed authentication attempt

Authentication/DefaultAuthenticationSuccessHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandle
3737
);
3838

3939
/**
40-
* Constructor.
41-
*
4240
* @param HttpUtils $httpUtils
4341
* @param array $options Options for processing a successful authentication attempt
4442
*/

Authentication/SimpleAuthenticationHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class SimpleAuthenticationHandler implements AuthenticationFailureHandlerInterfa
3535
protected $logger;
3636

3737
/**
38-
* Constructor.
39-
*
4038
* @param SimpleAuthenticatorInterface $authenticator SimpleAuthenticatorInterface instance
4139
* @param AuthenticationSuccessHandlerInterface $successHandler Default success handler
4240
* @param AuthenticationFailureHandlerInterface $failureHandler Default failure handler

EntryPoint/FormAuthenticationEntryPoint.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
2929
private $httpUtils;
3030

3131
/**
32-
* Constructor.
33-
*
3432
* @param HttpKernelInterface $kernel
3533
* @param HttpUtils $httpUtils An HttpUtils instance
3634
* @param string $loginPath The path to the login form

Event/InteractiveLoginEvent.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1717

1818
/**
19-
* InteractiveLoginEvent.
20-
*
2119
* @author Fabien Potencier <[email protected]>
2220
*/
2321
class InteractiveLoginEvent extends Event
@@ -26,8 +24,6 @@ class InteractiveLoginEvent extends Event
2624
private $authenticationToken;
2725

2826
/**
29-
* Constructor.
30-
*
3127
* @param Request $request A Request instance
3228
* @param TokenInterface $authenticationToken A TokenInterface instance
3329
*/

Firewall.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class Firewall implements EventSubscriberInterface
3434
private $exceptionListeners;
3535

3636
/**
37-
* Constructor.
38-
*
3937
* @param FirewallMapInterface $map A FirewallMapInterface instance
4038
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
4139
*/

Firewall/AbstractAuthenticationListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
6464
private $rememberMeServices;
6565

6666
/**
67-
* Constructor.
68-
*
6967
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
7068
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
7169
* @param SessionAuthenticationStrategyInterface $sessionStrategy

Firewall/ContextListener.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
class ContextListener implements ListenerInterface
3434
{
3535
private $tokenStorage;
36-
private $contextKey;
3736
private $sessionKey;
3837
private $logger;
3938
private $userProviders;
@@ -54,7 +53,6 @@ public function __construct(TokenStorageInterface $tokenStorage, array $userProv
5453

5554
$this->tokenStorage = $tokenStorage;
5655
$this->userProviders = $userProviders;
57-
$this->contextKey = $contextKey;
5856
$this->sessionKey = '_security_'.$contextKey;
5957
$this->logger = $logger;
6058
$this->dispatcher = $dispatcher;
@@ -174,7 +172,7 @@ protected function refreshUser(TokenInterface $token)
174172
}
175173

176174
if ($userNotFoundByProvider) {
177-
return;
175+
return null;
178176
}
179177

180178
throw new \RuntimeException(sprintf('There is no user provider for user "%s".', get_class($user)));

Firewall/LogoutListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class LogoutListener implements ListenerInterface
4141
private $csrfTokenManager;
4242

4343
/**
44-
* Constructor.
45-
*
4644
* @param TokenStorageInterface $tokenStorage
4745
* @param HttpUtils $httpUtils An HttpUtils instance
4846
* @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance

Firewall/RememberMeListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ class RememberMeListener implements ListenerInterface
3939
private $sessionStrategy;
4040

4141
/**
42-
* Constructor.
43-
*
4442
* @param TokenStorageInterface $tokenStorage
4543
* @param RememberMeServicesInterface $rememberMeServices
4644
* @param AuthenticationManagerInterface $authenticationManager

Firewall/SimpleFormAuthenticationListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener
4040
private $csrfTokenManager;
4141

4242
/**
43-
* Constructor.
44-
*
4543
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
4644
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
4745
* @param SessionAuthenticationStrategyInterface $sessionStrategy

Firewall/SimplePreAuthenticationListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class SimplePreAuthenticationListener implements ListenerInterface
4040
private $dispatcher;
4141

4242
/**
43-
* Constructor.
44-
*
4543
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
4644
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
4745
* @param string $providerKey

HttpUtils.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class HttpUtils
3131
private $urlMatcher;
3232

3333
/**
34-
* Constructor.
35-
*
3634
* @param UrlGeneratorInterface $urlGenerator A UrlGeneratorInterface instance
3735
* @param UrlMatcherInterface|RequestMatcherInterface $urlMatcher The URL or Request matcher
3836
*

Logout/CookieClearingLogoutHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class CookieClearingLogoutHandler implements LogoutHandlerInterface
2525
private $cookies;
2626

2727
/**
28-
* Constructor.
29-
*
3028
* @param array $cookies An array of cookie names to unset
3129
*/
3230
public function __construct(array $cookies)

RememberMe/AbstractRememberMeServices.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
4444
private $userProviders;
4545

4646
/**
47-
* Constructor.
48-
*
4947
* @param array $userProviders
5048
* @param string $secret
5149
* @param string $providerKey

RememberMe/PersistentTokenBasedRememberMeServices.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class PersistentTokenBasedRememberMeServices extends AbstractRememberMeServices
3434
private $tokenProvider;
3535

3636
/**
37-
* Constructor.
38-
*
3937
* Note: The $secureRandom parameter is deprecated since version 2.8 and will be removed in 3.0.
4038
*
4139
* @param array $userProviders

0 commit comments

Comments
 (0)