Completed
Pull Request — master (#20)
by Pavel
02:25
created
app.paths.conf.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // PATH aliases
4
-define('ROOT_PATH',          __DIR__ );
5
-define('MIGRATIONS_PATH',    __DIR__ . '/app/database/migrations');
6
-define('SEEDS_PATH',         __DIR__ . '/app/database/seeds');
7
-define('MODELS_PATH',        __DIR__ . '/app/src/Model');
8
-define('SCHEMAS_PATH',       __DIR__ . '/app/src/Schema');
9
-define('COMMANDS_PATH',      __DIR__ . '/app/src/Console/Commands');
10
-define('CODE_TEMPLATE_PATH', __DIR__ . '/app/src/Console/CodeTemplates');
11
-define('CONFIG_PATH',        __DIR__ . '/config');
12
-define('APP_PATH',           __DIR__ . '/app');
4
+define('ROOT_PATH', __DIR__);
5
+define('MIGRATIONS_PATH', __DIR__.'/app/database/migrations');
6
+define('SEEDS_PATH', __DIR__.'/app/database/seeds');
7
+define('MODELS_PATH', __DIR__.'/app/src/Model');
8
+define('SCHEMAS_PATH', __DIR__.'/app/src/Schema');
9
+define('COMMANDS_PATH', __DIR__.'/app/src/Console/Commands');
10
+define('CODE_TEMPLATE_PATH', __DIR__.'/app/src/Console/CodeTemplates');
11
+define('CONFIG_PATH', __DIR__.'/config');
12
+define('APP_PATH', __DIR__.'/app');
13 13
 
Please login to merge, or discard this patch.
app/src/Console/Commands/GenerateMigrationCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             '<class>',
54 54
             '<tableName>',
55 55
         ];
56
-        $replacements  = [
56
+        $replacements = [
57 57
             Helper::underscoreToCamelCase($migrationName, true),
58 58
             strtolower($migrationName),
59 59
         ];
Please login to merge, or discard this patch.
app/src/Schema/UserSchema.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -239,17 +239,17 @@
 block discarded – undo
239 239
     public function getAttributes($entity)
240 240
     {
241 241
         return [
242
-			'email'	=> (string)$entity->email,
243
-			'full_name'	=> (string)$entity->full_name,
244
-			'password'	=> (string)$entity->password,
245
-			'password_reset_token'	=> (string)$entity->password_reset_token,
246
-			'role_id'	=> (integer)$entity->role_id,
247
-			'created_by'	=> (integer)$entity->created_by,
248
-			'updated_by'	=> (integer)$entity->updated_by,
249
-			'created_at'	=> Carbon::parse($entity->created_at)->setTimezone('UTC')->format(Carbon::ISO8601),
250
-			'updated_at'	=> Carbon::parse($entity->updated_at)->setTimezone('UTC')->format(Carbon::ISO8601),
251
-			'deleted_at'	=> Carbon::parse($entity->deleted_at)->setTimezone('UTC')->format(Carbon::ISO8601),
252
-			'status'	=> (integer)$entity->status,
242
+            'email'	=> (string)$entity->email,
243
+            'full_name'	=> (string)$entity->full_name,
244
+            'password'	=> (string)$entity->password,
245
+            'password_reset_token'	=> (string)$entity->password_reset_token,
246
+            'role_id'	=> (integer)$entity->role_id,
247
+            'created_by'	=> (integer)$entity->created_by,
248
+            'updated_by'	=> (integer)$entity->updated_by,
249
+            'created_at'	=> Carbon::parse($entity->created_at)->setTimezone('UTC')->format(Carbon::ISO8601),
250
+            'updated_at'	=> Carbon::parse($entity->updated_at)->setTimezone('UTC')->format(Carbon::ISO8601),
251
+            'deleted_at'	=> Carbon::parse($entity->deleted_at)->setTimezone('UTC')->format(Carbon::ISO8601),
252
+            'status'	=> (integer)$entity->status,
253 253
         ];
254 254
     }
255 255
 }
Please login to merge, or discard this patch.