Passed
Push — develop ( ce941a...fac1d0 )
by Septianata
18:56
created
app/Http/Middleware/RedirectIfAuthenticated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function handle(Request $request, Closure $next, ...$guards)
21 21
     {
22
-        $guards = empty($guards) ? [null] : $guards;
22
+        $guards = empty($guards) ? [ null ] : $guards;
23 23
 
24 24
         foreach ($guards as $guard) {
25 25
             if (Auth::guard($guard)->check()) {
Please login to merge, or discard this patch.
app/Http/Middleware/Authenticate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     protected function redirectTo($request)
16 16
     {
17
-        if (! $request->expectsJson()) {
17
+        if (!$request->expectsJson()) {
18 18
             return route('login');
19 19
         }
20 20
     }
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
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
16
+Broadcast::channel('App.Models.User.{id}', function($user, $id) {
17 17
     return (int) $user->id === (int) $id;
18 18
 });
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
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 |
15 15
 */
16 16
 
17
-Artisan::command('inspire', function () {
17
+Artisan::command('inspire', function() {
18 18
     $this->comment(Inspiring::quote());
19 19
 })->purpose('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
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 |
15 15
 */
16 16
 
17
-Route::middleware('auth:api')->get('/user', function (Request $request) {
17
+Route::middleware('auth:api')->get('/user', function(Request $request) {
18 18
     return $request->user();
19 19
 });
Please login to merge, or discard this patch.
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $uri = urldecode(
11
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
12 12
 );
13 13
 
14 14
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
bootstrap/app.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
 
14 14
 $app = new Illuminate\Foundation\Application(
15
-    $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
15
+    $_ENV[ 'APP_BASE_PATH' ] ?? dirname(__DIR__)
16 16
 );
17 17
 
18 18
 /*
Please login to merge, or discard this patch.
config/cors.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,17 +15,17 @@
 block discarded – undo
15 15
     |
16 16
     */
17 17
 
18
-    'paths' => ['api/*', 'sanctum/csrf-cookie'],
18
+    'paths' => [ 'api/*', 'sanctum/csrf-cookie' ],
19 19
 
20
-    'allowed_methods' => ['*'],
20
+    'allowed_methods' => [ '*' ],
21 21
 
22
-    'allowed_origins' => ['*'],
22
+    'allowed_origins' => [ '*' ],
23 23
 
24
-    'allowed_origins_patterns' => [],
24
+    'allowed_origins_patterns' => [ ],
25 25
 
26
-    'allowed_headers' => ['*'],
26
+    'allowed_headers' => [ '*' ],
27 27
 
28
-    'exposed_headers' => [],
28
+    'exposed_headers' => [ ],
29 29
 
30 30
     'max_age' => 0,
31 31
 
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
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     |
114 114
     */
115 115
 
116
-    'lottery' => [2, 100],
116
+    'lottery' => [ 2, 100 ],
117 117
 
118 118
     /*
119 119
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.