diff --git a/Access/Gate.php b/Access/Gate.php index da86c5ae9..e4f4cb81e 100644 --- a/Access/Gate.php +++ b/Access/Gate.php @@ -3,13 +3,13 @@ namespace Illuminate\Auth\Access; use Exception; -use ReflectionClass; -use ReflectionFunction; +use Illuminate\Contracts\Auth\Access\Gate as GateContract; +use Illuminate\Contracts\Container\Container; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; -use Illuminate\Contracts\Container\Container; -use Illuminate\Contracts\Auth\Access\Gate as GateContract; +use ReflectionClass; +use ReflectionFunction; class Gate implements GateContract { diff --git a/AuthManager.php b/AuthManager.php index 5cd29f17c..37037d143 100755 --- a/AuthManager.php +++ b/AuthManager.php @@ -3,8 +3,8 @@ namespace Illuminate\Auth; use Closure; -use InvalidArgumentException; use Illuminate\Contracts\Auth\Factory as FactoryContract; +use InvalidArgumentException; class AuthManager implements FactoryContract { diff --git a/AuthServiceProvider.php b/AuthServiceProvider.php index dfc554b27..84d4f7ab2 100755 --- a/AuthServiceProvider.php +++ b/AuthServiceProvider.php @@ -3,9 +3,9 @@ namespace Illuminate\Auth; use Illuminate\Auth\Access\Gate; -use Illuminate\Support\ServiceProvider; use Illuminate\Contracts\Auth\Access\Gate as GateContract; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; +use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { diff --git a/DatabaseUserProvider.php b/DatabaseUserProvider.php index f8005b7d1..8aa563d82 100755 --- a/DatabaseUserProvider.php +++ b/DatabaseUserProvider.php @@ -2,12 +2,12 @@ namespace Illuminate\Auth; -use Illuminate\Support\Str; +use Illuminate\Contracts\Auth\Authenticatable as UserContract; use Illuminate\Contracts\Auth\UserProvider; +use Illuminate\Contracts\Hashing\Hasher as HasherContract; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Database\ConnectionInterface; -use Illuminate\Contracts\Hashing\Hasher as HasherContract; -use Illuminate\Contracts\Auth\Authenticatable as UserContract; +use Illuminate\Support\Str; class DatabaseUserProvider implements UserProvider { diff --git a/EloquentUserProvider.php b/EloquentUserProvider.php index e3c40e6b3..5db3dfe81 100755 --- a/EloquentUserProvider.php +++ b/EloquentUserProvider.php @@ -2,11 +2,11 @@ namespace Illuminate\Auth; -use Illuminate\Support\Str; +use Illuminate\Contracts\Auth\Authenticatable as UserContract; use Illuminate\Contracts\Auth\UserProvider; -use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Hashing\Hasher as HasherContract; -use Illuminate\Contracts\Auth\Authenticatable as UserContract; +use Illuminate\Contracts\Support\Arrayable; +use Illuminate\Support\Str; class EloquentUserProvider implements UserProvider { diff --git a/GuardHelpers.php b/GuardHelpers.php index 8bfa77a0e..fb9267ca1 100644 --- a/GuardHelpers.php +++ b/GuardHelpers.php @@ -2,8 +2,8 @@ namespace Illuminate\Auth; -use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; +use Illuminate\Contracts\Auth\UserProvider; /** * These methods are typically the same across all guards. diff --git a/Middleware/Authorize.php b/Middleware/Authorize.php index 2da32fef3..aea9801dd 100644 --- a/Middleware/Authorize.php +++ b/Middleware/Authorize.php @@ -3,8 +3,8 @@ namespace Illuminate\Auth\Middleware; use Closure; -use Illuminate\Database\Eloquent\Model; use Illuminate\Contracts\Auth\Access\Gate; +use Illuminate\Database\Eloquent\Model; class Authorize { diff --git a/Middleware/EnsureEmailIsVerified.php b/Middleware/EnsureEmailIsVerified.php index cec17c607..1f73e576a 100644 --- a/Middleware/EnsureEmailIsVerified.php +++ b/Middleware/EnsureEmailIsVerified.php @@ -3,8 +3,8 @@ namespace Illuminate\Auth\Middleware; use Closure; -use Illuminate\Support\Facades\Redirect; use Illuminate\Contracts\Auth\MustVerifyEmail; +use Illuminate\Support\Facades\Redirect; class EnsureEmailIsVerified { diff --git a/Notifications/ResetPassword.php b/Notifications/ResetPassword.php index 7144c44f7..da6366056 100644 --- a/Notifications/ResetPassword.php +++ b/Notifications/ResetPassword.php @@ -2,9 +2,9 @@ namespace Illuminate\Auth\Notifications; -use Illuminate\Support\Facades\Lang; -use Illuminate\Notifications\Notification; use Illuminate\Notifications\Messages\MailMessage; +use Illuminate\Notifications\Notification; +use Illuminate\Support\Facades\Lang; class ResetPassword extends Notification { diff --git a/Notifications/VerifyEmail.php b/Notifications/VerifyEmail.php index 4f9586317..f746685fc 100644 --- a/Notifications/VerifyEmail.php +++ b/Notifications/VerifyEmail.php @@ -2,12 +2,12 @@ namespace Illuminate\Auth\Notifications; +use Illuminate\Notifications\Messages\MailMessage; +use Illuminate\Notifications\Notification; use Illuminate\Support\Carbon; -use Illuminate\Support\Facades\URL; -use Illuminate\Support\Facades\Lang; use Illuminate\Support\Facades\Config; -use Illuminate\Notifications\Notification; -use Illuminate\Notifications\Messages\MailMessage; +use Illuminate\Support\Facades\Lang; +use Illuminate\Support\Facades\URL; class VerifyEmail extends Notification { diff --git a/Passwords/DatabaseTokenRepository.php b/Passwords/DatabaseTokenRepository.php index c47017599..6d609da18 100755 --- a/Passwords/DatabaseTokenRepository.php +++ b/Passwords/DatabaseTokenRepository.php @@ -2,11 +2,11 @@ namespace Illuminate\Auth\Passwords; -use Illuminate\Support\Str; -use Illuminate\Support\Carbon; -use Illuminate\Database\ConnectionInterface; -use Illuminate\Contracts\Hashing\Hasher as HasherContract; use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; +use Illuminate\Contracts\Hashing\Hasher as HasherContract; +use Illuminate\Database\ConnectionInterface; +use Illuminate\Support\Carbon; +use Illuminate\Support\Str; class DatabaseTokenRepository implements TokenRepositoryInterface { diff --git a/Passwords/PasswordBroker.php b/Passwords/PasswordBroker.php index 4b6bb62ca..75ad3ee07 100755 --- a/Passwords/PasswordBroker.php +++ b/Passwords/PasswordBroker.php @@ -3,11 +3,11 @@ namespace Illuminate\Auth\Passwords; use Closure; +use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; +use Illuminate\Contracts\Auth\PasswordBroker as PasswordBrokerContract; +use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Support\Arr; use UnexpectedValueException; -use Illuminate\Contracts\Auth\UserProvider; -use Illuminate\Contracts\Auth\PasswordBroker as PasswordBrokerContract; -use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; class PasswordBroker implements PasswordBrokerContract { diff --git a/Passwords/PasswordBrokerManager.php b/Passwords/PasswordBrokerManager.php index f73db6e75..310f0fd16 100644 --- a/Passwords/PasswordBrokerManager.php +++ b/Passwords/PasswordBrokerManager.php @@ -2,9 +2,9 @@ namespace Illuminate\Auth\Passwords; +use Illuminate\Contracts\Auth\PasswordBrokerFactory as FactoryContract; use Illuminate\Support\Str; use InvalidArgumentException; -use Illuminate\Contracts\Auth\PasswordBrokerFactory as FactoryContract; /** * @mixin \Illuminate\Contracts\Auth\PasswordBroker diff --git a/Passwords/PasswordResetServiceProvider.php b/Passwords/PasswordResetServiceProvider.php index 8df49f504..a26b7e6e8 100755 --- a/Passwords/PasswordResetServiceProvider.php +++ b/Passwords/PasswordResetServiceProvider.php @@ -2,8 +2,8 @@ namespace Illuminate\Auth\Passwords; -use Illuminate\Support\ServiceProvider; use Illuminate\Contracts\Support\DeferrableProvider; +use Illuminate\Support\ServiceProvider; class PasswordResetServiceProvider extends ServiceProvider implements DeferrableProvider { diff --git a/RequestGuard.php b/RequestGuard.php index 2adc2cc35..0276f2ff4 100644 --- a/RequestGuard.php +++ b/RequestGuard.php @@ -2,10 +2,10 @@ namespace Illuminate\Auth; -use Illuminate\Http\Request; use Illuminate\Contracts\Auth\Guard; -use Illuminate\Support\Traits\Macroable; use Illuminate\Contracts\Auth\UserProvider; +use Illuminate\Http\Request; +use Illuminate\Support\Traits\Macroable; class RequestGuard implements Guard { diff --git a/SessionGuard.php b/SessionGuard.php index 28d3b6587..9affb244a 100644 --- a/SessionGuard.php +++ b/SessionGuard.php @@ -2,19 +2,19 @@ namespace Illuminate\Auth; -use RuntimeException; -use Illuminate\Support\Str; -use Illuminate\Support\Facades\Hash; -use Illuminate\Support\Traits\Macroable; -use Illuminate\Contracts\Session\Session; -use Illuminate\Contracts\Auth\UserProvider; -use Illuminate\Contracts\Events\Dispatcher; +use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\StatefulGuard; -use Symfony\Component\HttpFoundation\Request; use Illuminate\Contracts\Auth\SupportsBasicAuth; +use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Cookie\QueueingFactory as CookieJar; +use Illuminate\Contracts\Events\Dispatcher; +use Illuminate\Contracts\Session\Session; +use Illuminate\Support\Facades\Hash; +use Illuminate\Support\Str; +use Illuminate\Support\Traits\Macroable; +use RuntimeException; +use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException; -use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; class SessionGuard implements StatefulGuard, SupportsBasicAuth { diff --git a/TokenGuard.php b/TokenGuard.php index 93fa25765..b1aa7a7e5 100644 --- a/TokenGuard.php +++ b/TokenGuard.php @@ -2,9 +2,9 @@ namespace Illuminate\Auth; -use Illuminate\Http\Request; use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\UserProvider; +use Illuminate\Http\Request; class TokenGuard implements Guard {