Skip to content

Commit ff1bcf2

Browse files
driesvintstaylorotwell
authored andcommitted
[6.x] Alpha ordered imports (#29933)
* Order imports alphabetically * Apply fixes from StyleCI (#29931)
1 parent 25a847c commit ff1bcf2

17 files changed

+42
-42
lines changed

Access/Gate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
namespace Illuminate\Auth\Access;
44

55
use Exception;
6-
use ReflectionClass;
7-
use ReflectionFunction;
6+
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
7+
use Illuminate\Contracts\Container\Container;
88
use Illuminate\Support\Arr;
99
use Illuminate\Support\Str;
1010
use InvalidArgumentException;
11-
use Illuminate\Contracts\Container\Container;
12-
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
11+
use ReflectionClass;
12+
use ReflectionFunction;
1313

1414
class Gate implements GateContract
1515
{

AuthManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Illuminate\Auth;
44

55
use Closure;
6-
use InvalidArgumentException;
76
use Illuminate\Contracts\Auth\Factory as FactoryContract;
7+
use InvalidArgumentException;
88

99
class AuthManager implements FactoryContract
1010
{

AuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Illuminate\Auth;
44

55
use Illuminate\Auth\Access\Gate;
6-
use Illuminate\Support\ServiceProvider;
76
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
87
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
8+
use Illuminate\Support\ServiceProvider;
99

1010
class AuthServiceProvider extends ServiceProvider
1111
{

DatabaseUserProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace Illuminate\Auth;
44

5-
use Illuminate\Support\Str;
5+
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
66
use Illuminate\Contracts\Auth\UserProvider;
7+
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
78
use Illuminate\Contracts\Support\Arrayable;
89
use Illuminate\Database\ConnectionInterface;
9-
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
10-
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
10+
use Illuminate\Support\Str;
1111

1212
class DatabaseUserProvider implements UserProvider
1313
{

EloquentUserProvider.php

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

33
namespace Illuminate\Auth;
44

5-
use Illuminate\Support\Str;
5+
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
66
use Illuminate\Contracts\Auth\UserProvider;
7-
use Illuminate\Contracts\Support\Arrayable;
87
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
9-
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
8+
use Illuminate\Contracts\Support\Arrayable;
9+
use Illuminate\Support\Str;
1010

1111
class EloquentUserProvider implements UserProvider
1212
{

GuardHelpers.php

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

33
namespace Illuminate\Auth;
44

5-
use Illuminate\Contracts\Auth\UserProvider;
65
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
6+
use Illuminate\Contracts\Auth\UserProvider;
77

88
/**
99
* These methods are typically the same across all guards.

Middleware/Authorize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Illuminate\Auth\Middleware;
44

55
use Closure;
6-
use Illuminate\Database\Eloquent\Model;
76
use Illuminate\Contracts\Auth\Access\Gate;
7+
use Illuminate\Database\Eloquent\Model;
88

99
class Authorize
1010
{

Middleware/EnsureEmailIsVerified.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Illuminate\Auth\Middleware;
44

55
use Closure;
6-
use Illuminate\Support\Facades\Redirect;
76
use Illuminate\Contracts\Auth\MustVerifyEmail;
7+
use Illuminate\Support\Facades\Redirect;
88

99
class EnsureEmailIsVerified
1010
{

Notifications/ResetPassword.php

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

33
namespace Illuminate\Auth\Notifications;
44

5-
use Illuminate\Support\Facades\Lang;
6-
use Illuminate\Notifications\Notification;
75
use Illuminate\Notifications\Messages\MailMessage;
6+
use Illuminate\Notifications\Notification;
7+
use Illuminate\Support\Facades\Lang;
88

99
class ResetPassword extends Notification
1010
{

Notifications/VerifyEmail.php

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

33
namespace Illuminate\Auth\Notifications;
44

5+
use Illuminate\Notifications\Messages\MailMessage;
6+
use Illuminate\Notifications\Notification;
57
use Illuminate\Support\Carbon;
6-
use Illuminate\Support\Facades\URL;
7-
use Illuminate\Support\Facades\Lang;
88
use Illuminate\Support\Facades\Config;
9-
use Illuminate\Notifications\Notification;
10-
use Illuminate\Notifications\Messages\MailMessage;
9+
use Illuminate\Support\Facades\Lang;
10+
use Illuminate\Support\Facades\URL;
1111

1212
class VerifyEmail extends Notification
1313
{

0 commit comments

Comments
 (0)