Test Failed
Pull Request — master (#58)
by Johnny
05:45
created
routes/web.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 Route::get('/logout', ['as' => 'user.logout', 'uses' => 'Auth\LoginController@logout']);
21 21
 
22
-Route::get('/home', function () {
22
+Route::get('/home', function() {
23 23
     return redirect()->route('url_create');
24 24
 })->middleware('auth')->name('home');
25 25
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 Route::group([
30 30
     'prefix'     => '/admin',
31 31
     'middleware' => ['auth'],
32
-], function () {
32
+], function() {
33 33
     //LinksController
34 34
     //UsersController
35 35
 });
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 Route::group([
41 41
     'prefix'     => '/dashboard',
42 42
     'middleware' => ['auth'],
43
-], function () {
43
+], function() {
44 44
     Route::resource('links', 'UserDashboardController');
45 45
 });
46 46
 
Please login to merge, or discard this patch.
routes/channels.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Broadcast::channel('App.User.{id}', function ($user, $id) {
14
+Broadcast::channel('App.User.{id}', function($user, $id) {
15 15
     return (int) $user->id === (int) $id;
16 16
 });
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::middleware('auth:api')->get('/user', function (Request $request) {
16
+Route::middleware('auth:api')->get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 });
Please login to merge, or discard this patch.
database/factories/ModelFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 */
13 13
 
14 14
 /** @var \Illuminate\Database\Eloquent\Factory $factory */
15
-$factory->define(App\User::class, function (Faker\Generator $faker) {
15
+$factory->define(App\User::class, function(Faker\Generator $faker) {
16 16
     static $password;
17 17
 
18 18
     return [
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     ];
24 24
 });
25 25
 
26
-$factory->define(App\Role::class, function (Faker\Generator $faker) {
26
+$factory->define(App\Role::class, function(Faker\Generator $faker) {
27 27
     return [
28 28
         'name' => 'Administrator',
29 29
     ];
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('users', function (Blueprint $table) {
16
+        Schema::create('users', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('email')->unique();
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('password_resets', function (Blueprint $table) {
16
+        Schema::create('password_resets', function(Blueprint $table) {
17 17
             $table->string('email')->index();
18 18
             $table->string('token')->index();
19 19
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
database/migrations/2017_03_14_172117_create_links_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('links', function (Blueprint $table) {
16
+        Schema::create('links', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->unsignedInteger('user_id')->nullable();
19 19
             $table->string('url');
Please login to merge, or discard this patch.
database/migrations/2017_03_17_080125_create_role_user_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('role_user', function (Blueprint $table) {
16
+        Schema::create('role_user', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('user_id')->unsigned()->index();
19 19
             $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function down()
32 32
     {
33
-        Schema::table('role_user', function (Blueprint $table) {
33
+        Schema::table('role_user', function(Blueprint $table) {
34 34
             Schema::drop('role_user');
35 35
         });
36 36
     }
Please login to merge, or discard this patch.
database/migrations/2017_03_17_080010_create_roles_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('roles', function (Blueprint $table) {
16
+        Schema::create('roles', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->text('name');
19 19
             $table->timestamps();
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function down()
29 29
     {
30
-        Schema::table('roles', function (Blueprint $table) {
30
+        Schema::table('roles', function(Blueprint $table) {
31 31
             Schema::drop('roles');
32 32
         });
33 33
     }
Please login to merge, or discard this patch.