Passed
Pull Request — master (#14)
by ARCANEDEV
05:42
created
src/System/Http/Routes/LogViewerRoutes.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,31 +27,31 @@
 block discarded – undo
27 27
         $this->prefix('log-viewer')->name('log-viewer.')->group(function () {
28 28
             // admin::system.log-viewer.index
29 29
             $this->get('/', [LogViewerController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
 
32 32
             $this->prefix('logs')->name('logs.')->group(function () {
33 33
                 $this->prefix('{admin_log_file_date}')->group(function () {
34 34
                     // admin::system.log-viewer.logs.show
35 35
                     $this->get('/', [LogViewerController::class, 'showLog'])
36
-                         ->name('show');
36
+                            ->name('show');
37 37
 
38 38
                     // admin::system.log-viewer.logs.download
39 39
                     $this->get('download', [LogViewerController::class, 'download'])
40
-                         ->name('download');
40
+                            ->name('download');
41 41
 
42 42
                     // admin::system.log-viewer.logs.delete
43 43
                     $this->delete('delete', [LogViewerController::class, 'delete'])
44
-                         ->middleware(['ajax'])
45
-                         ->name('delete');
44
+                            ->middleware(['ajax'])
45
+                            ->name('delete');
46 46
 
47 47
                     $this->prefix('{admin_log_level}')->group(function () {
48 48
                         // admin::system.log-viewer.logs.filter
49 49
                         $this->get('/', [LogViewerController::class, 'filter'])
50
-                             ->name('filter');
50
+                                ->name('filter');
51 51
 
52 52
                         // admin::system.log-viewer.logs.search
53 53
                         $this->get('search', [LogViewerController::class, 'search'])
54
-                             ->name('search');
54
+                                ->name('search');
55 55
                     });
56 56
                 });
57 57
             });
Please login to merge, or discard this patch.
config/auth.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,8 @@
 block discarded – undo
96 96
             'two_factors'         => 'two_factors',
97 97
         ],
98 98
 
99
-         // Models
100
-         // ----------------------------------
99
+            // Models
100
+            // ----------------------------------
101 101
 
102 102
         'models' => [
103 103
             'user'               => App\Models\User::class,
Please login to merge, or discard this patch.
src/System/Http/Routes/AbstractRouteRegistrar.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     protected function moduleGroup(Closure $callback)
28 28
     {
29 29
         $this->prefix('system')
30
-             ->name('system.')
31
-             ->group($callback);
30
+                ->name('system.')
31
+                ->group($callback);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/ProfileRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,20 +26,20 @@
 block discarded – undo
26 26
         $this->prefix('profile')->name('profile.')->middleware(['administrator.password.confirm'])->group(function () {
27 27
             // admin::auth.profile.index
28 28
             $this->get('/', [ProfileController::class, 'index'])
29
-                 ->name('index');
29
+                    ->name('index');
30 30
 
31 31
             // Account
32 32
             $this->prefix('account')->name('account.')->group(function () {
33 33
                 // admin::auth.profile.account.update
34 34
                 $this->put('update', [ProfileController::class, 'updateAccount'])
35
-                     ->name('update');
35
+                        ->name('update');
36 36
             });
37 37
 
38 38
             // Password
39 39
             $this->prefix('password')->name('password.')->group(function () {
40 40
                 // admin::auth.profile.password.update
41 41
                 $this->put('update', [ProfileController::class, 'updatePassword'])
42
-                     ->name('update');
42
+                        ->name('update');
43 43
             });
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/DashboardRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
     {
26 26
         // admin::authorization.index
27 27
         $this->get('/', [DashboardController::class, 'index'])
28
-             ->name('index');
28
+                ->name('index');
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/Roles/AdministratorsRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             $this->prefix('{'.static::USER_WILDCARD.'}')->group(function () {
38 38
                 // admin::auth.roles.administrators.detach
39 39
                 $this->delete('detach', [AdministratorsController::class, 'detach'])
40
-                     ->name('detach');
40
+                        ->name('detach');
41 41
             });
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/Roles/PermissionsRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             $this->prefix('{'.static::PERMISSION_WILDCARD.'}')->group(function () {
38 38
                 // admin::auth.roles.permissions.detach
39 39
                 $this->delete('detach', [PermissionsController::class, 'detach'])
40
-                     ->name('detach');
40
+                        ->name('detach');
41 41
             });
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/Administrators/SessionsRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $this->name('sessions.')->name('prefix')->group(function () {
37 37
             $this->prefix('{'.static::WILDCARD_SESSION.'}')->group(function () {
38 38
                 $this->delete('delete', [SessionsController::class, 'delete'])
39
-                     ->name('delete'); // admin::auth.administrators.sessions.delete
39
+                        ->name('delete'); // admin::auth.administrators.sessions.delete
40 40
             });
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/EmailVerificationRoutes.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,17 +36,17 @@
 block discarded – undo
36 36
         $this->prefix('email/verification')->name('email.verification.')->middleware(['auth'])->group(function () {
37 37
             // auth::email.verification.notice
38 38
             $this->get('/', [EmailVerificationController::class, 'show'])
39
-                 ->name('notice');
39
+                    ->name('notice');
40 40
 
41 41
             // auth::email.verification.resend
42 42
             $this->post('/', [EmailVerificationController::class, 'resend'])
43
-                 ->middleware(['throttle:6,1']) // TODO: Make the throttle configurable
44
-                 ->name('resend');
43
+                    ->middleware(['throttle:6,1']) // TODO: Make the throttle configurable
44
+                    ->name('resend');
45 45
 
46 46
             // auth::email.verification.verify
47 47
             $this->get('{id}/{hash}', [EmailVerificationController::class, 'verify'])
48
-                 ->middleware(['signed', 'throttle:6,1']) // TODO: Make the throttle configurable
49
-                 ->name('verify');
48
+                    ->middleware(['signed', 'throttle:6,1']) // TODO: Make the throttle configurable
49
+                    ->name('verify');
50 50
         });
51 51
     }
52 52
 }
Please login to merge, or discard this patch.