Completed
Push — master ( cc59db...11708c )
by Travis
02:31
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers\Auth;
4 4
 
5
-use App\User;
6 5
 use App\Http\Controllers\Controller;
7
-use Illuminate\Support\Facades\Validator;
6
+use App\User;
8 7
 use Illuminate\Foundation\Auth\RegistersUsers;
8
+use Illuminate\Support\Facades\Validator;
9 9
 
10 10
 class RegisterController extends Controller
11 11
 {
Please login to merge, or discard this patch.
app/Http/Controllers/SnippetsController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use DB;
6 5
 use App\Snippet;
6
+use DB;
7 7
 
8 8
 class SnippetsController extends Controller
9 9
 {
Please login to merge, or discard this patch.
app/User.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App;
4 4
 
5
-use Illuminate\Notifications\Notifiable;
6 5
 use Illuminate\Foundation\Auth\User as Authenticatable;
6
+use Illuminate\Notifications\Notifiable;
7 7
 
8 8
 class User extends Authenticatable
9 9
 {
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateUsersTable extends Migration
8 8
 {
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_password_resets_table.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreatePasswordResetsTable extends Migration
8 8
 {
Please login to merge, or discard this patch.
database/migrations/2017_02_18_161213_create_snippets_table.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateSnippetsTable extends Migration
8 8
 {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
             $table->timestamps();
23 23
 
24 24
             $table->foreign('user_id')
25
-                  ->references('id')->on('users')
26
-                  ->onDelete('cascade');
25
+                    ->references('id')->on('users')
26
+                    ->onDelete('cascade');
27 27
         });
28 28
     }
29 29
 
Please login to merge, or discard this patch.
database/migrations/2017_02_20_205001_create_snippets_votes.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateSnippetsVotes extends Migration
8 8
 {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@
 block discarded – undo
20 20
             $table->timestamps();
21 21
 
22 22
             $table->foreign('user_id')
23
-                  ->references('id')->on('users')
24
-                  ->onDelete('cascade');
23
+                    ->references('id')->on('users')
24
+                    ->onDelete('cascade');
25 25
 
26 26
             $table->foreign('snippet_id')
27
-                  ->references('id')->on('snippets')
28
-                  ->onDelete('cascade');
27
+                    ->references('id')->on('snippets')
28
+                    ->onDelete('cascade');
29 29
         });
30 30
     }
31 31
 
Please login to merge, or discard this patch.