Skip to content

Commit 03a9257

Browse files
Merge branch '5.2' into 5.3
* 5.2: CS fix CS fix CS fixes Bump Symfony version to 5.2.12 Update VERSION for 5.2.11 Update CHANGELOG for 5.2.11 Bump Symfony version to 4.4.27 Update VERSION for 4.4.26 Update CONTRIBUTORS for 4.4.26 Update CHANGELOG for 4.4.26
2 parents 81c183f + 8ea54b7 commit 03a9257

24 files changed

+25
-30
lines changed

Authentication/AuthenticatorManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthent
5757
/**
5858
* @param AuthenticatorInterface[] $authenticators
5959
*/
60-
public function __construct(iterable $authenticators, TokenStorageInterface $tokenStorage, EventDispatcherInterface $eventDispatcher, string $firewallName, ?LoggerInterface $logger = null, bool $eraseCredentials = true, bool $hideUserNotFoundExceptions = true, array $requiredBadges = [])
60+
public function __construct(iterable $authenticators, TokenStorageInterface $tokenStorage, EventDispatcherInterface $eventDispatcher, string $firewallName, LoggerInterface $logger = null, bool $eraseCredentials = true, bool $hideUserNotFoundExceptions = true, array $requiredBadges = [])
6161
{
6262
$this->authenticators = $authenticators;
6363
$this->tokenStorage = $tokenStorage;

Authenticator/AbstractPreAuthenticatedAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthe
4141
private $firewallName;
4242
private $logger;
4343

44-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, ?LoggerInterface $logger = null)
44+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, LoggerInterface $logger = null)
4545
{
4646
$this->userProvider = $userProvider;
4747
$this->tokenStorage = $tokenStorage;

Authenticator/HttpBasicAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEn
3838
private $userProvider;
3939
private $logger;
4040

41-
public function __construct(string $realmName, UserProviderInterface $userProvider, ?LoggerInterface $logger = null)
41+
public function __construct(string $realmName, UserProviderInterface $userProvider, LoggerInterface $logger = null)
4242
{
4343
$this->realmName = $realmName;
4444
$this->userProvider = $userProvider;

Authenticator/JsonLoginAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
5858
*/
5959
private $translator;
6060

61-
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, ?AuthenticationSuccessHandlerInterface $successHandler = null, ?AuthenticationFailureHandlerInterface $failureHandler = null, array $options = [], ?PropertyAccessorInterface $propertyAccessor = null)
61+
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, array $options = [], PropertyAccessorInterface $propertyAccessor = null)
6262
{
6363
$this->options = array_merge(['username_path' => 'username', 'password_path' => 'password'], $options);
6464
$this->httpUtils = $httpUtils;

Authenticator/Passport/Badge/PasswordUpgradeBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class PasswordUpgradeBadge implements BadgeInterface
3232
* @param string $plaintextPassword The presented password, used in the rehash
3333
* @param PasswordUpgraderInterface|null $passwordUpgrader The password upgrader, defaults to the UserProvider if null
3434
*/
35-
public function __construct(string $plaintextPassword, ?PasswordUpgraderInterface $passwordUpgrader = null)
35+
public function __construct(string $plaintextPassword, PasswordUpgraderInterface $passwordUpgrader = null)
3636
{
3737
$this->plaintextPassword = $plaintextPassword;
3838
$this->passwordUpgrader = $passwordUpgrader;

Authenticator/Passport/Badge/UserBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class UserBadge implements BadgeInterface
4242
* is thrown). If this is not set, the default user provider will be used with
4343
* $userIdentifier as username.
4444
*/
45-
public function __construct(string $userIdentifier, ?callable $userLoader = null)
45+
public function __construct(string $userIdentifier, callable $userLoader = null)
4646
{
4747
$this->userIdentifier = $userIdentifier;
4848
$this->userLoader = $userLoader;

Authenticator/RemoteUserAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RemoteUserAuthenticator extends AbstractPreAuthenticatedAuthenticator
3232
{
3333
private $userKey;
3434

35-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'REMOTE_USER', ?LoggerInterface $logger = null)
35+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'REMOTE_USER', LoggerInterface $logger = null)
3636
{
3737
parent::__construct($userProvider, $tokenStorage, $firewallName, $logger);
3838

Authenticator/X509Authenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class X509Authenticator extends AbstractPreAuthenticatedAuthenticator
3131
private $userKey;
3232
private $credentialsKey;
3333

34-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'SSL_CLIENT_S_DN_Email', string $credentialsKey = 'SSL_CLIENT_S_DN', ?LoggerInterface $logger = null)
34+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'SSL_CLIENT_S_DN_Email', string $credentialsKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null)
3535
{
3636
parent::__construct($userProvider, $tokenStorage, $firewallName, $logger);
3737

Event/LazyResponseEvent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function isMainRequest(): bool
7373
{
7474
return $this->event->isMainRequest();
7575
}
76+
7677
/**
7778
* {@inheritdoc}
7879
*/

Event/LoginFailureEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class LoginFailureEvent extends Event
3535
private $firewallName;
3636
private $passport;
3737

38-
public function __construct(AuthenticationException $exception, AuthenticatorInterface $authenticator, Request $request, ?Response $response, string $firewallName, ?PassportInterface $passport = null)
38+
public function __construct(AuthenticationException $exception, AuthenticatorInterface $authenticator, Request $request, ?Response $response, string $firewallName, PassportInterface $passport = null)
3939
{
4040
$this->exception = $exception;
4141
$this->authenticator = $authenticator;

0 commit comments

Comments
 (0)