Skip to content

Commit e656932

Browse files
driesvintstaylorotwell
authored andcommitted
Apply fixes from StyleCI (laravel#5100)
1 parent 79fb6af commit e656932

15 files changed

+20
-20
lines changed

app/Http/Controllers/Auth/RegisterController.php

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

33
namespace App\Http\Controllers\Auth;
44

5-
use App\User;
65
use App\Http\Controllers\Controller;
6+
use App\User;
7+
use Illuminate\Foundation\Auth\RegistersUsers;
78
use Illuminate\Support\Facades\Hash;
89
use Illuminate\Support\Facades\Validator;
9-
use Illuminate\Foundation\Auth\RegistersUsers;
1010

1111
class RegisterController extends Controller
1212
{

app/Http/Controllers/Controller.php

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

33
namespace App\Http\Controllers;
44

5+
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
56
use Illuminate\Foundation\Bus\DispatchesJobs;
6-
use Illuminate\Routing\Controller as BaseController;
77
use Illuminate\Foundation\Validation\ValidatesRequests;
8-
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
8+
use Illuminate\Routing\Controller as BaseController;
99

1010
class Controller extends BaseController
1111
{

app/Http/Middleware/TrustProxies.php

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

33
namespace App\Http\Middleware;
44

5-
use Illuminate\Http\Request;
65
use Fideloper\Proxy\TrustProxies as Middleware;
6+
use Illuminate\Http\Request;
77

88
class TrustProxies extends Middleware
99
{

app/Providers/AuthServiceProvider.php

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

33
namespace App\Providers;
44

5-
use Illuminate\Support\Facades\Gate;
65
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6+
use Illuminate\Support\Facades\Gate;
77

88
class AuthServiceProvider extends ServiceProvider
99
{

app/Providers/BroadcastServiceProvider.php

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

33
namespace App\Providers;
44

5-
use Illuminate\Support\ServiceProvider;
65
use Illuminate\Support\Facades\Broadcast;
6+
use Illuminate\Support\ServiceProvider;
77

88
class BroadcastServiceProvider extends ServiceProvider
99
{

app/Providers/EventServiceProvider.php

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

33
namespace App\Providers;
44

5-
use Illuminate\Support\Facades\Event;
65
use Illuminate\Auth\Events\Registered;
76
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
87
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
8+
use Illuminate\Support\Facades\Event;
99

1010
class EventServiceProvider extends ServiceProvider
1111
{

app/Providers/RouteServiceProvider.php

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

33
namespace App\Providers;
44

5-
use Illuminate\Support\Facades\Route;
65
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
6+
use Illuminate\Support\Facades\Route;
77

88
class RouteServiceProvider extends ServiceProvider
99
{

app/User.php

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

33
namespace App;
44

5-
use Illuminate\Notifications\Notifiable;
65
use Illuminate\Contracts\Auth\MustVerifyEmail;
76
use Illuminate\Foundation\Auth\User as Authenticatable;
7+
use Illuminate\Notifications\Notifiable;
88

99
class User extends Authenticatable
1010
{

database/factories/UserFactory.php

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

33
/** @var \Illuminate\Database\Eloquent\Factory $factory */
44
use App\User;
5-
use Illuminate\Support\Str;
65
use Faker\Generator as Faker;
6+
use Illuminate\Support\Str;
77

88
/*
99
|--------------------------------------------------------------------------

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateUsersTable extends Migration
88
{

database/migrations/2014_10_12_100000_create_password_resets_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreatePasswordResetsTable extends Migration
88
{

database/migrations/2019_08_19_000000_create_failed_jobs_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
66

77
class CreateFailedJobsTable extends Migration
88
{

tests/Bootstrap.php

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

33
namespace Tests;
44

5+
use Illuminate\Contracts\Console\Kernel;
56
use PHPUnit\Runner\AfterLastTestHook;
67
use PHPUnit\Runner\BeforeFirstTestHook;
7-
use Illuminate\Contracts\Console\Kernel;
88

99
class Bootstrap implements BeforeFirstTestHook, AfterLastTestHook
1010
{

tests/Feature/ExampleTest.php

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

33
namespace Tests\Feature;
44

5-
use Tests\TestCase;
65
use Illuminate\Foundation\Testing\RefreshDatabase;
6+
use Tests\TestCase;
77

88
class ExampleTest extends TestCase
99
{

tests/Unit/ExampleTest.php

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

33
namespace Tests\Unit;
44

5-
use Tests\TestCase;
65
use Illuminate\Foundation\Testing\RefreshDatabase;
6+
use Tests\TestCase;
77

88
class ExampleTest extends TestCase
99
{

0 commit comments

Comments
 (0)