Passed
Pull Request — master (#14)
by ARCANEDEV
05:47
created
src/System/Http/Routes/MaintenanceRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,15 +27,15 @@
 block discarded – undo
27 27
         $this->prefix('maintenance')->name('maintenance.')->group(function () {
28 28
             // admin::system.maintenance.index
29 29
             $this->get('/', [MaintenanceController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
 
32 32
             // admin::system.maintenance.start
33 33
             $this->post('start', [MaintenanceController::class, 'start'])
34
-                 ->name('start');
34
+                    ->name('start');
35 35
 
36 36
             // admin::system.maintenance.stop
37 37
             $this->post('stop', [MaintenanceController::class, 'stop'])
38
-                 ->name('stop');
38
+                    ->name('stop');
39 39
         });
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
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/AdministratorsRoutes.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,56 +34,56 @@
 block discarded – undo
34 34
         $this->name('administrators.')->prefix('administrators')->group(function () {
35 35
             // admin::auth.administrators.index
36 36
             $this->get('/', [AdministratorsController::class, 'index'])
37
-                 ->name('index');
37
+                    ->name('index');
38 38
 
39 39
             // admin::auth.administrators.trash
40 40
             $this->get('trash', [AdministratorsController::class, 'trash'])
41
-                 ->name('trash');
41
+                    ->name('trash');
42 42
 
43 43
             // admin::auth.administrators.metrics
44 44
             $this->get('metrics', [AdministratorsController::class, 'metrics'])
45
-                 ->name('metrics');
45
+                    ->name('metrics');
46 46
 
47 47
             // admin::auth.administrators.create
48 48
             $this->get('create', [AdministratorsController::class, 'create'])
49
-                 ->name('create');
49
+                    ->name('create');
50 50
 
51 51
             // admin::auth.administrators.post
52 52
             $this->post('store', [AdministratorsController::class, 'store'])
53
-                 ->name('store');
53
+                    ->name('store');
54 54
 
55 55
             $this->prefix('{'.static::WILDCARD_ADMIN.'}')->group(function () {
56 56
                 // admin::auth.administrators.show
57 57
                 $this->get('/', [AdministratorsController::class, 'show'])
58
-                     ->name('show');
58
+                        ->name('show');
59 59
 
60 60
                 // admin::auth.administrators.edit
61 61
                 $this->get('edit', [AdministratorsController::class, 'edit'])
62
-                     ->name('edit');
62
+                        ->name('edit');
63 63
 
64 64
                 // admin::auth.administrators.update
65 65
                 $this->put('update', [AdministratorsController::class, 'update'])
66
-                     ->name('update');
66
+                        ->name('update');
67 67
 
68 68
                 // admin::auth.administrators.activate
69 69
                 $this->put('activate', [AdministratorsController::class, 'activate'])
70
-                     ->middleware(['ajax'])
71
-                     ->name('activate');
70
+                        ->middleware(['ajax'])
71
+                        ->name('activate');
72 72
 
73 73
                 // admin::auth.administrators.deactivate
74 74
                 $this->put('deactivate', [AdministratorsController::class, 'deactivate'])
75
-                     ->middleware(['ajax'])
76
-                     ->name('deactivate');
75
+                        ->middleware(['ajax'])
76
+                        ->name('deactivate');
77 77
 
78 78
                 // admin::auth.administrators.delete
79 79
                 $this->delete('delete', [AdministratorsController::class, 'delete'])
80
-                     ->middleware(['ajax'])
81
-                     ->name('delete');
80
+                        ->middleware(['ajax'])
81
+                        ->name('delete');
82 82
 
83 83
                 // admin::auth.administrators.restore
84 84
                 $this->put('restore', [AdministratorsController::class, 'restore'])
85
-                     ->middleware(['ajax'])
86
-                     ->name('restore');
85
+                        ->middleware(['ajax'])
86
+                        ->name('restore');
87 87
 
88 88
                 static::mapRouteClasses([
89 89
                     Administrators\SessionsRoutes::class
Please login to merge, or discard this patch.
src/Authorization/Http/Routes/Web/UsersRoutes.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -34,61 +34,61 @@
 block discarded – undo
34 34
         $this->name('users.')->prefix('users')->group(function () {
35 35
             // admin::auth.users.index
36 36
             $this->get('/', [UsersController::class, 'index'])
37
-                 ->name('index');
37
+                    ->name('index');
38 38
 
39 39
             // admin::auth.users.trash
40 40
             $this->get('trash', [UsersController::class, 'trash'])
41
-                 ->name('trash');
41
+                    ->name('trash');
42 42
 
43 43
             // admin::auth.users.metrics
44 44
             $this->get('metrics', [UsersController::class, 'metrics'])
45
-                 ->name('metrics');
45
+                    ->name('metrics');
46 46
 
47 47
             // admin::auth.users.create
48 48
             $this->get('create', [UsersController::class, 'create'])
49
-                 ->name('create');
49
+                    ->name('create');
50 50
 
51 51
             // admin::auth.users.post
52 52
             $this->post('store', [UsersController::class, 'store'])
53
-                 ->name('store');
53
+                    ->name('store');
54 54
 
55 55
             $this->prefix('{'.static::USER_WILDCARD.'}')->group(function () {
56 56
                 // admin::auth.users.show
57 57
                 $this->get('/', [UsersController::class, 'show'])
58
-                     ->name('show');
58
+                        ->name('show');
59 59
 
60 60
                 // admin::auth.users.edit
61 61
                 $this->get('edit', [UsersController::class, 'edit'])
62
-                     ->name('edit');
62
+                        ->name('edit');
63 63
 
64 64
                 // admin::auth.users.update
65 65
                 $this->put('update', [UsersController::class, 'update'])
66
-                     ->name('update');
66
+                        ->name('update');
67 67
 
68 68
                 // admin::auth.users.activate
69 69
                 $this->put('activate', [UsersController::class, 'activate'])
70
-                     ->middleware(['ajax'])
71
-                     ->name('activate');
70
+                        ->middleware(['ajax'])
71
+                        ->name('activate');
72 72
 
73 73
                 // admin::auth.users.deactivate
74 74
                 $this->put('deactivate', [UsersController::class, 'deactivate'])
75
-                     ->middleware(['ajax'])
76
-                     ->name('deactivate');
75
+                        ->middleware(['ajax'])
76
+                        ->name('deactivate');
77 77
 
78 78
                 // admin::auth.users.delete
79 79
                 $this->delete('delete', [UsersController::class, 'delete'])
80
-                     ->middleware(['ajax'])
81
-                     ->name('delete');
80
+                        ->middleware(['ajax'])
81
+                        ->name('delete');
82 82
 
83 83
                 // admin::auth.users.restore
84 84
                 $this->put('restore', [UsersController::class, 'restore'])
85
-                     ->middleware(['ajax'])
86
-                     ->name('restore');
85
+                        ->middleware(['ajax'])
86
+                        ->name('restore');
87 87
 
88 88
                 if (impersonator()->isEnabled()) {
89 89
                     // admin::auth.users.impersonate
90 90
                     $this->get('impersonate', [UsersController::class, 'impersonate'])
91
-                         ->name('impersonate');
91
+                            ->name('impersonate');
92 92
                 }
93 93
             });
94 94
         });
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/PermissionsRoutes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
         $this->prefix('permissions')->name('permissions.')->group(function () {
35 35
             // admin::auth.permissions.index
36 36
             $this->get('/', [PermissionsController::class, 'index'])
37
-                 ->name('index');
37
+                    ->name('index');
38 38
 
39 39
             $this->prefix('{'.static::PERMISSION_WILDCARD.'}')->group(function () {
40 40
                 // admin::auth.permissions.show
41 41
                 $this->get('/', [PermissionsController::class, 'show'])
42
-                     ->name('show');
42
+                        ->name('show');
43 43
 
44 44
                 static::mapRouteClasses([
45 45
                     Permissions\RolesRoutes::class,
Please login to merge, or discard this patch.