Completed
Branch master (6f4788)
by Arthur
06:14
created
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * @author   Taylor Otwell <[email protected]>
7 7
  */
8 8
 $uri = urldecode(
9
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
9
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
10 10
 );
11 11
 
12 12
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
routes/console.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
-Artisan::command('inspire', function () {
16
+Artisan::command('inspire', function() {
17 17
     $this->comment(Inspiring::quote());
18 18
 })->describe('Display an inspiring quote');
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.
routes/web.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
-Route::get('/', function () {
14
+Route::get('/', function() {
15 15
     return view('welcome');
16 16
 });
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.
config/modules.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@  discard block
 block discarded – undo
38 38
             'package'         => 'package.json',
39 39
         ],
40 40
         'replacements' => [
41
-            'routes/web'      => ['LOWER_NAME', 'STUDLY_NAME'],
42
-            'routes/api'      => ['LOWER_NAME'],
43
-            'webpack'         => ['LOWER_NAME'],
44
-            'json'            => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'],
45
-            'views/index'     => ['LOWER_NAME'],
46
-            'views/master'    => ['LOWER_NAME', 'STUDLY_NAME'],
47
-            'scaffold/config' => ['STUDLY_NAME'],
41
+            'routes/web'      => [ 'LOWER_NAME', 'STUDLY_NAME' ],
42
+            'routes/api'      => [ 'LOWER_NAME' ],
43
+            'webpack'         => [ 'LOWER_NAME' ],
44
+            'json'            => [ 'LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE' ],
45
+            'views/index'     => [ 'LOWER_NAME' ],
46
+            'views/master'    => [ 'LOWER_NAME', 'STUDLY_NAME' ],
47
+            'scaffold/config' => [ 'STUDLY_NAME' ],
48 48
             'composer'        => [
49 49
                 'LOWER_NAME',
50 50
                 'STUDLY_NAME',
@@ -97,29 +97,29 @@  discard block
 block discarded – undo
97 97
         | Set the generate key to false to not generate that folder
98 98
         */
99 99
         'generator' => [
100
-            'config'        => ['path' => 'Config', 'generate' => true],
101
-            'command'       => ['path' => 'Console', 'generate' => true],
102
-            'migration'     => ['path' => 'Database/Migrations', 'generate' => true],
103
-            'seeder'        => ['path' => 'Database/Seeders', 'generate' => true],
104
-            'factory'       => ['path' => 'Database/factories', 'generate' => true],
105
-            'model'         => ['path' => 'Entities', 'generate' => true],
106
-            'controller'    => ['path' => 'Http/Controllers', 'generate' => true],
107
-            'filter'        => ['path' => 'Http/Middleware', 'generate' => true],
108
-            'request'       => ['path' => 'Http/Requests', 'generate' => true],
109
-            'provider'      => ['path' => 'Providers', 'generate' => true],
110
-            'assets'        => ['path' => 'Resources/assets', 'generate' => true],
111
-            'lang'          => ['path' => 'Resources/lang', 'generate' => true],
112
-            'views'         => ['path' => 'Resources/views', 'generate' => true],
113
-            'test'          => ['path' => 'Tests', 'generate' => true],
114
-            'repository'    => ['path' => 'Repositories', 'generate' => false],
115
-            'event'         => ['path' => 'Events', 'generate' => false],
116
-            'listener'      => ['path' => 'Listeners', 'generate' => false],
117
-            'policies'      => ['path' => 'Policies', 'generate' => false],
118
-            'rules'         => ['path' => 'Rules', 'generate' => false],
119
-            'jobs'          => ['path' => 'Jobs', 'generate' => false],
120
-            'emails'        => ['path' => 'Emails', 'generate' => false],
121
-            'notifications' => ['path' => 'Notifications', 'generate' => false],
122
-            'resource'      => ['path' => 'Transformers', 'generate' => false],
100
+            'config'        => [ 'path' => 'Config', 'generate' => true ],
101
+            'command'       => [ 'path' => 'Console', 'generate' => true ],
102
+            'migration'     => [ 'path' => 'Database/Migrations', 'generate' => true ],
103
+            'seeder'        => [ 'path' => 'Database/Seeders', 'generate' => true ],
104
+            'factory'       => [ 'path' => 'Database/factories', 'generate' => true ],
105
+            'model'         => [ 'path' => 'Entities', 'generate' => true ],
106
+            'controller'    => [ 'path' => 'Http/Controllers', 'generate' => true ],
107
+            'filter'        => [ 'path' => 'Http/Middleware', 'generate' => true ],
108
+            'request'       => [ 'path' => 'Http/Requests', 'generate' => true ],
109
+            'provider'      => [ 'path' => 'Providers', 'generate' => true ],
110
+            'assets'        => [ 'path' => 'Resources/assets', 'generate' => true ],
111
+            'lang'          => [ 'path' => 'Resources/lang', 'generate' => true ],
112
+            'views'         => [ 'path' => 'Resources/views', 'generate' => true ],
113
+            'test'          => [ 'path' => 'Tests', 'generate' => true ],
114
+            'repository'    => [ 'path' => 'Repositories', 'generate' => false ],
115
+            'event'         => [ 'path' => 'Events', 'generate' => false ],
116
+            'listener'      => [ 'path' => 'Listeners', 'generate' => false ],
117
+            'policies'      => [ 'path' => 'Policies', 'generate' => false ],
118
+            'rules'         => [ 'path' => 'Rules', 'generate' => false ],
119
+            'jobs'          => [ 'path' => 'Jobs', 'generate' => false ],
120
+            'emails'        => [ 'path' => 'Emails', 'generate' => false ],
121
+            'notifications' => [ 'path' => 'Notifications', 'generate' => false ],
122
+            'resource'      => [ 'path' => 'Transformers', 'generate' => false ],
123 123
         ],
124 124
     ],
125 125
     /*
Please login to merge, or discard this patch.
config/ide-helper.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,8 +173,8 @@
 block discarded – undo
173 173
     | Cast the given "real type" to the given "type".
174 174
     |
175 175
     */
176
-   'type_overrides' => [
176
+    'type_overrides' => [
177 177
         'integer' => 'int',
178 178
         'boolean' => 'bool',
179
-   ],
179
+    ],
180 180
 ];
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
     */
79 79
 
80 80
     'extra' => [
81
-        'Eloquent' => ['Illuminate\Database\Eloquent\Builder', 'Illuminate\Database\Query\Builder'],
82
-        'Session'  => ['Illuminate\Session\Store'],
81
+        'Eloquent' => [ 'Illuminate\Database\Eloquent\Builder', 'Illuminate\Database\Query\Builder' ],
82
+        'Session'  => [ 'Illuminate\Session\Store' ],
83 83
     ],
84 84
 
85 85
     'magic' => [
Please login to merge, or discard this patch.
config/laravel-auth0.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     |   This is used to verify the decoded tokens when using RS256
60 60
     |
61 61
     */
62
-    'authorized_issuers'  => [env('AUTH0_DOMAIN')],
62
+    'authorized_issuers'  => [ env('AUTH0_DOMAIN') ],
63 63
 
64 64
     /*
65 65
     |--------------------------------------------------------------------------
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     |   Token decoding algorithms supported by your API
86 86
     |
87 87
     */
88
-    'supported_algs'        => ['RS256'],
88
+    'supported_algs'        => [ 'RS256' ],
89 89
 
90 90
     /*
91 91
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     |
112 112
     */
113 113
 
114
-    'lottery' => [2, 100],
114
+    'lottery' => [ 2, 100 ],
115 115
 
116 116
     /*
117 117
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.