Completed
Push — master ( 52caec...ac6145 )
by Şəhriyar
17:22
created
migrations/2015_07_03_092720_create_translation_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('translation_categories', function (Blueprint $table) {
15
+        Schema::create('translation_categories', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name')->unique();
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2015_07_03_092741_create_translation_messages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('translation_messages', function (Blueprint $table) {
15
+        Schema::create('translation_messages', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('key');
18 18
             $table->integer('category_id', false, true);
Please login to merge, or discard this patch.
database/migrations/2015_08_26_142147_cartalyst_sentinel.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function up()
31 31
     {
32
-        Schema::table('users', function (Blueprint $table) {
32
+        Schema::table('users', function(Blueprint $table) {
33 33
             $table->engine = 'InnoDB';
34 34
             $table->text('permissions')->nullable()->after('password');
35 35
             $table->timestamp('last_login')->nullable()->after('remember_token');
36 36
             $table->dropColumn('remember_token');
37 37
         });
38 38
 
39
-        Schema::create('activations', function (Blueprint $table) {
39
+        Schema::create('activations', function(Blueprint $table) {
40 40
             $table->engine = 'InnoDB';
41 41
             $table->increments('id');
42 42
             $table->unsignedInteger('user_id');
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');
49 49
         });
50 50
 
51
-        Schema::create('persistences', function (Blueprint $table) {
51
+        Schema::create('persistences', function(Blueprint $table) {
52 52
             $table->engine = 'InnoDB';
53 53
             $table->increments('id');
54 54
             $table->unsignedInteger('user_id');
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');
59 59
         });
60 60
 
61
-        Schema::create('reminders', function (Blueprint $table) {
61
+        Schema::create('reminders', function(Blueprint $table) {
62 62
             $table->increments('id');
63 63
             $table->unsignedInteger('user_id');
64 64
             $table->string('code');
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');
70 70
         });
71 71
 
72
-        Schema::create('roles', function (Blueprint $table) {
72
+        Schema::create('roles', function(Blueprint $table) {
73 73
             $table->engine = 'InnoDB';
74 74
             $table->increments('id');
75 75
             $table->string('slug')->unique();
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $table->timestamps();
79 79
         });
80 80
 
81
-        Schema::create('role_users', function (Blueprint $table) {
81
+        Schema::create('role_users', function(Blueprint $table) {
82 82
             $table->engine = 'InnoDB';
83 83
             $table->unsignedInteger('user_id');
84 84
             $table->unsignedInteger('role_id');
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $table->foreign('role_id')->references('id')->on('roles')->onUpdate('cascade')->onDelete('cascade');
90 90
         });
91 91
 
92
-        Schema::create('throttle', function (Blueprint $table) {
92
+        Schema::create('throttle', function(Blueprint $table) {
93 93
             $table->engine = 'InnoDB';
94 94
             $table->increments('id');
95 95
             $table->unsignedInteger('user_id')->nullable();
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function down()
110 110
     {
111
-        Schema::table('users', function (Blueprint $table) {
111
+        Schema::table('users', function(Blueprint $table) {
112 112
             $table->dropColumn(['permissions', 'last_login']);
113 113
             $table->rememberToken();
114 114
         });
Please login to merge, or discard this patch.
database/seeds/DatabaseSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function run()
13 13
     {
14
-        Eloquent::unguarded(function () {
14
+        Eloquent::unguarded(function() {
15 15
             $this->call(NestedEntitiesTableSeeder::class);
16 16
         });
17 17
     }
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +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
-require __DIR__.'/../bootstrap/autoload.php';
3
+require __DIR__ . '/../bootstrap/autoload.php';
4 4
 
5
-$app = require_once __DIR__.'/../bootstrap/app.php';
5
+$app = require_once __DIR__ . '/../bootstrap/app.php';
6 6
 
7 7
 $kernel = $app->make(\Illuminate\Contracts\Http\Kernel::class);
8 8
 $response = $kernel->handle(
Please login to merge, or discard this patch.
app/Listeners/Users/SendActivationLinkViaEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         $reminder = app('sentinel.reminders')->create($event->user);
13 13
         $token = $reminder->code;
14 14
         $view = config('auth.password.email');
15
-        app('mailer')->send($view, compact('user', 'token'), function (Message $m) use ($user, $token) {
15
+        app('mailer')->send($view, compact('user', 'token'), function(Message $m) use ($user, $token) {
16 16
             $m->to($user->email)->subject($this->getPasswordResetEmailSubject());
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
database/migrations/2015_12_06_115712_create_files_users_table.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
     public function up()
14 14
     {
15
-        Schema::create('files_users', function (Blueprint $table) {
15
+        Schema::create('files_users', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDb';
17 17
             $table->string('file_hash', 64);
18 18
             $table->unsignedInteger('user_id');
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function down()
35 35
     {
36
-        Schema::table('files_users', function (Blueprint $table) {
36
+        Schema::table('files_users', function(Blueprint $table) {
37 37
             $table->dropForeign('files_users_file_hash_foreign');
38 38
             $table->dropForeign('files_users_user_id_foreign');
39 39
         });
Please login to merge, or discard this patch.
database/migrations/2015_05_13_125906_create_users_oauth_table.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
     public function up()
14 14
     {
15
-        Schema::create('users_oauth', function (Blueprint $table) {
15
+        Schema::create('users_oauth', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->unsignedInteger('user_id');
18 18
             $table->string('remote_provider', 32);
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function down()
36 36
     {
37
-        Schema::table('users_oauth', function (Blueprint $table) {
37
+        Schema::table('users_oauth', function(Blueprint $table) {
38 38
             $table->dropForeign('users_oauth_user_id_foreign');
39 39
         });
40 40
         Schema::drop('users_oauth');
Please login to merge, or discard this patch.
database/migrations/2015_11_17_140922_create_files_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('files', function (Blueprint $table) {
15
+        Schema::create('files', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDb';
17 17
 
18 18
             $table->integer('id', true, true);
Please login to merge, or discard this patch.