Skip to content

Commit 1034d2d

Browse files
Alpha-ordering for "use" statements
1 parent 48093b3 commit 1034d2d

30 files changed

+61
-61
lines changed

Authentication/AuthenticationProviderManager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication;
1313

14-
use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
15-
use Symfony\Component\Security\Core\Event\AuthenticationEvent;
16-
use Symfony\Component\Security\Core\AuthenticationEvents;
1714
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
15+
use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
16+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
17+
use Symfony\Component\Security\Core\AuthenticationEvents;
18+
use Symfony\Component\Security\Core\Event\AuthenticationEvent;
19+
use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
1820
use Symfony\Component\Security\Core\Exception\AccountStatusException;
1921
use Symfony\Component\Security\Core\Exception\AuthenticationException;
2022
use Symfony\Component\Security\Core\Exception\ProviderNotFoundException;
21-
use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
22-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
2323

2424
/**
2525
* AuthenticationProviderManager uses a list of AuthenticationProviderInterface

Authentication/Provider/AnonymousAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14+
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
1415
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1516
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1617
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
17-
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
1818

1919
/**
2020
* AnonymousAuthenticationProvider validates AnonymousToken instances.

Authentication/Provider/AuthenticationProviderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1514
use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
15+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1616

1717
/**
1818
* AuthenticationProviderInterface is the interface for all authentication

Authentication/Provider/DaoAuthenticationProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14+
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
1415
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
15-
use Symfony\Component\Security\Core\User\UserProviderInterface;
16-
use Symfony\Component\Security\Core\User\UserCheckerInterface;
17-
use Symfony\Component\Security\Core\User\UserInterface;
18-
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
1916
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
2017
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
21-
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
18+
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
19+
use Symfony\Component\Security\Core\User\UserCheckerInterface;
20+
use Symfony\Component\Security\Core\User\UserInterface;
21+
use Symfony\Component\Security\Core\User\UserProviderInterface;
2222

2323
/**
2424
* DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user

Authentication/Provider/LdapBindAuthenticationProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14+
use Symfony\Component\Ldap\Exception\ConnectionException;
15+
use Symfony\Component\Ldap\LdapClientInterface;
1416
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
1517
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
1618
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
1719
use Symfony\Component\Security\Core\User\UserCheckerInterface;
1820
use Symfony\Component\Security\Core\User\UserInterface;
1921
use Symfony\Component\Security\Core\User\UserProviderInterface;
20-
use Symfony\Component\Ldap\LdapClientInterface;
21-
use Symfony\Component\Ldap\Exception\ConnectionException;
2222

2323
/**
2424
* LdapBindAuthenticationProvider authenticates a user against an LDAP server.

Authentication/Provider/PreAuthenticatedAuthenticationProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14-
use Symfony\Component\Security\Core\User\UserProviderInterface;
15-
use Symfony\Component\Security\Core\User\UserCheckerInterface;
16-
use Symfony\Component\Security\Core\Exception\AuthenticationException;
17-
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
1814
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
1915
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
16+
use Symfony\Component\Security\Core\Exception\AuthenticationException;
17+
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
18+
use Symfony\Component\Security\Core\User\UserCheckerInterface;
19+
use Symfony\Component\Security\Core\User\UserProviderInterface;
2020

2121
/**
2222
* Processes a pre-authenticated authentication request.

Authentication/Provider/RememberMeAuthenticationProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14-
use Symfony\Component\Security\Core\User\UserCheckerInterface;
15-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1614
use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
15+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1716
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1817
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
18+
use Symfony\Component\Security\Core\User\UserCheckerInterface;
1919

2020
class RememberMeAuthenticationProvider implements AuthenticationProviderInterface
2121
{

Authentication/Provider/SimpleAuthenticationProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14+
use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface;
15+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
16+
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1417
use Symfony\Component\Security\Core\User\UserChecker;
1518
use Symfony\Component\Security\Core\User\UserCheckerInterface;
1619
use Symfony\Component\Security\Core\User\UserInterface;
1720
use Symfony\Component\Security\Core\User\UserProviderInterface;
18-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
19-
use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface;
20-
use Symfony\Component\Security\Core\Exception\AuthenticationException;
2121

2222
/**
2323
* @author Jordi Boggiano <[email protected]>

Authentication/Provider/UserAuthenticationProvider.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Provider;
1313

14-
use Symfony\Component\Security\Core\User\UserInterface;
15-
use Symfony\Component\Security\Core\User\UserCheckerInterface;
16-
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
14+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
15+
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
1716
use Symfony\Component\Security\Core\Exception\AuthenticationException;
18-
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
1917
use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
20-
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
21-
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
18+
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
19+
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
2220
use Symfony\Component\Security\Core\Role\SwitchUserRole;
21+
use Symfony\Component\Security\Core\User\UserCheckerInterface;
22+
use Symfony\Component\Security\Core\User\UserInterface;
2323

2424
/**
2525
* UserProviderInterface retrieves users for UsernamePasswordToken tokens.

Authentication/Token/AbstractToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace Symfony\Component\Security\Core\Authentication\Token;
1313

14-
use Symfony\Component\Security\Core\Role\RoleInterface;
1514
use Symfony\Component\Security\Core\Role\Role;
16-
use Symfony\Component\Security\Core\User\UserInterface;
15+
use Symfony\Component\Security\Core\Role\RoleInterface;
1716
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
1817
use Symfony\Component\Security\Core\User\EquatableInterface;
18+
use Symfony\Component\Security\Core\User\UserInterface;
1919

2020
/**
2121
* Base class for Token instances.

0 commit comments

Comments
 (0)