Skip to content

Commit c541926

Browse files
committed
[Tests] Remove some unused fixtures
1 parent fa5b4ec commit c541926

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

Tests/DependencyInjection/SecurityExtensionTest.php

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
use Symfony\Component\Security\Core\User\UserCheckerInterface;
3636
use Symfony\Component\Security\Core\User\UserInterface;
3737
use Symfony\Component\Security\Core\User\UserProviderInterface;
38-
use Symfony\Component\Security\Guard\AuthenticatorInterface as GuardAuthenticatorInterface;
3938
use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
4039
use Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator;
4140
use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
@@ -835,45 +834,6 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
835834
}
836835
}
837836

838-
class NullAuthenticator implements GuardAuthenticatorInterface
839-
{
840-
public function start(Request $request, AuthenticationException $authException = null)
841-
{
842-
}
843-
844-
public function supports(Request $request)
845-
{
846-
}
847-
848-
public function getCredentials(Request $request)
849-
{
850-
}
851-
852-
public function getUser($credentials, UserProviderInterface $userProvider)
853-
{
854-
}
855-
856-
public function checkCredentials($credentials, UserInterface $user)
857-
{
858-
}
859-
860-
public function createAuthenticatedToken(UserInterface $user, string $providerKey)
861-
{
862-
}
863-
864-
public function onAuthenticationFailure(Request $request, AuthenticationException $exception)
865-
{
866-
}
867-
868-
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey)
869-
{
870-
}
871-
872-
public function supportsRememberMe()
873-
{
874-
}
875-
}
876-
877837
class TestUserChecker implements UserCheckerInterface
878838
{
879839
public function checkPreAuth(UserInterface $user)

0 commit comments

Comments
 (0)