Passed
Pull Request — master (#14)
by ARCANEDEV
06:41
created
src/Auth/Http/Routes/ProfileRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,20 +28,20 @@
 block discarded – undo
28 28
             $this->prefix('profile')->name('profile.')->middleware(['password.confirm'])->group(function () {
29 29
                 // admin::auth.profile.index
30 30
                 $this->get('/', [ProfileController::class, 'index'])
31
-                     ->name('index');
31
+                        ->name('index');
32 32
 
33 33
                 // Account
34 34
                 $this->prefix('account')->name('account.')->group(function () {
35 35
                     // admin::auth.profile.account.update
36 36
                     $this->put('update', [ProfileController::class, 'updateAccount'])
37
-                         ->name('update');
37
+                            ->name('update');
38 38
                 });
39 39
 
40 40
                 // Password
41 41
                 $this->prefix('password')->name('password.')->group(function () {
42 42
                     // admin::auth.profile.password.update
43 43
                     $this->put('update', [ProfileController::class, 'updatePassword'])
44
-                         ->name('update');
44
+                            ->name('update');
45 45
                 });
46 46
             });
47 47
         });
Please login to merge, or discard this patch.
src/Auth/Http/Routes/Permissions/RolesRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             $this->prefix('{'.self::ROLE_WILDCARD.'}')->group(function () {
40 40
                 // admin::auth.permissions.roles.detach
41 41
                 $this->delete('detach', [RolesController::class, 'detach'])
42
-                     ->name('detach');
42
+                        ->name('detach');
43 43
             });
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Auth/Http/Routes/PasswordResetsRoutes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             $this->name('password-resets.')->prefix('password-resets')->group(function () {
30 30
                 // admin::authorization.password-resets.index
31 31
                 $this->get('/', [PasswordResetsController::class, 'index'])
32
-                     ->name('index');
32
+                        ->name('index');
33 33
 
34 34
                 $this->dataTableGroup(function () {
35 35
                     // admin::auth.password-resets.datatables.index
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
                 // admin::authorization.password-resets.metrics
41 41
                 $this->get('metrics', [PasswordResetsController::class, 'metrics'])
42
-                     ->name('metrics');
42
+                        ->name('metrics');
43 43
             });
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Auth/Http/Routes/UsersRoutes.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -37,58 +37,58 @@  discard block
 block discarded – undo
37 37
             $this->name('users.')->prefix('users')->group(function () {
38 38
                 // admin::auth.users.index
39 39
                 $this->get('/', [UsersController::class, 'index'])
40
-                     ->name('index');
40
+                        ->name('index');
41 41
 
42 42
                 // admin::auth.users.trash
43 43
                 $this->get('trash', [UsersController::class, 'trash'])
44
-                     ->name('trash');
44
+                        ->name('trash');
45 45
 
46 46
                 $this->mapDataTablesRoutes();
47 47
 
48 48
                 // admin::auth.users.metrics
49 49
                 $this->get('metrics', [UsersController::class, 'metrics'])
50
-                     ->name('metrics');
50
+                        ->name('metrics');
51 51
 
52 52
                 // admin::auth.users.create
53 53
                 $this->get('create', [UsersController::class, 'create'])
54
-                     ->name('create');
54
+                        ->name('create');
55 55
 
56 56
                 // admin::auth.users.post
57 57
                 $this->post('store', [UsersController::class, 'store'])
58
-                     ->name('store');
58
+                        ->name('store');
59 59
 
60 60
                 $this->prefix('{'.static::USER_WILDCARD.'}')->group(function () {
61 61
                     // admin::auth.users.show
62 62
                     $this->get('/', [UsersController::class, 'show'])
63
-                         ->name('show');
63
+                            ->name('show');
64 64
 
65 65
                     // admin::auth.users.edit
66 66
                     $this->get('edit', [UsersController::class, 'edit'])
67
-                         ->name('edit');
67
+                            ->name('edit');
68 68
 
69 69
                     // admin::auth.users.update
70 70
                     $this->put('update', [UsersController::class, 'update'])
71
-                         ->name('update');
71
+                            ->name('update');
72 72
 
73 73
                     // admin::auth.users.activate
74 74
                     $this->put('activate', [UsersController::class, 'activate'])
75
-                         ->middleware(['ajax'])
76
-                         ->name('activate');
75
+                            ->middleware(['ajax'])
76
+                            ->name('activate');
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
             });
@@ -103,11 +103,11 @@  discard block
 block discarded – undo
103 103
         $this->dataTableGroup(function () {
104 104
             // admin::auth.users.datatables.index
105 105
             $this->get('/', [UsersDataTablesController::class, 'index'])
106
-                 ->name('index');
106
+                    ->name('index');
107 107
 
108 108
             // admin::auth.users.datatables.trash
109 109
             $this->get('trash', [UsersDataTablesController::class, 'trash'])
110
-                 ->name('trash');
110
+                    ->name('trash');
111 111
         });
112 112
     }
113 113
 
Please login to merge, or discard this patch.
src/Auth/Http/Routes/DashboardRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->adminGroup(function () {
28 28
             // admin::authorization.index
29 29
             $this->get('/', [DashboardController::class, 'index'])
30
-                 ->name('index');
30
+                    ->name('index');
31 31
         });
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Auth/Http/Routes/PermissionsRoutes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,14 +37,14 @@  discard block
 block discarded – undo
37 37
             $this->prefix('permissions')->name('permissions.')->group(function () {
38 38
                 // admin::auth.permissions.index
39 39
                 $this->get('/', [PermissionsController::class, 'index'])
40
-                     ->name('index');
40
+                        ->name('index');
41 41
 
42 42
                 $this->mapDataTableRoutes();
43 43
 
44 44
                 $this->prefix('{'.self::PERMISSION_WILDCARD.'}')->group(function () {
45 45
                     // admin::auth.permissions.show
46 46
                     $this->get('/', [PermissionsController::class, 'show'])
47
-                         ->name('show');
47
+                            ->name('show');
48 48
 
49 49
                     $this->namespace('Permissions')->group(function () {
50 50
                         static::mapRouteClasses([
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $this->dataTableGroup(function () {
65 65
             // admin::auth.permissions.datatables.index
66 66
             $this->get('/', [PermissionsDataTableController::class, 'index'])
67
-                 ->name('index');
67
+                    ->name('index');
68 68
         });
69 69
     }
70 70
 
Please login to merge, or discard this patch.
src/Auth/Http/Routes/Roles/UsersRoutes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $this->prefix('{'.self::USER_WILDCARD.'}')->group(function () {
39 39
                 // admin::auth.roles.users.detach
40 40
                 $this->delete('detach', [UsersController::class, 'detach'])
41
-                     ->name('detach');
41
+                        ->name('detach');
42 42
             });
43 43
         });
44 44
     }
Please login to merge, or discard this patch.
src/Auth/Http/Routes/RolesRoutes.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -37,44 +37,44 @@  discard block
 block discarded – undo
37 37
             $this->name('roles.')->prefix('roles')->group(function () {
38 38
                 // admin::auth.roles.index
39 39
                 $this->get('/', [RolesController::class, 'index'])
40
-                     ->name('index');
40
+                        ->name('index');
41 41
 
42 42
                 $this->mapDataTablesRoutes();
43 43
 
44 44
                 // admin::auth.roles.metrics
45 45
                 $this->get('metrics', [RolesController::class, 'metrics'])
46
-                     ->name('metrics');
46
+                        ->name('metrics');
47 47
 
48 48
                 // admin::auth.roles.create
49 49
                 $this->get('create', [RolesController::class, 'create'])
50
-                     ->name('create');
50
+                        ->name('create');
51 51
 
52 52
                 // admin::auth.roles.store
53 53
                 $this->post('store', [RolesController::class, 'store'])
54
-                     ->name('store');
54
+                        ->name('store');
55 55
 
56 56
                 $this->prefix('{'.self::ROLE_WILDCARD.'}')->group(function () {
57 57
                     // admin::auth.roles.show
58 58
                     $this->get('/', [RolesController::class, 'show'])
59
-                         ->name('show');
59
+                            ->name('show');
60 60
 
61 61
                     // admin::auth.roles.edit
62 62
                     $this->get('edit', [RolesController::class, 'edit'])
63
-                         ->name('edit');
63
+                            ->name('edit');
64 64
 
65 65
                     // admin::auth.roles.update
66 66
                     $this->put('update', [RolesController::class, 'update'])
67
-                         ->name('update');
67
+                            ->name('update');
68 68
 
69 69
                     // admin::auth.roles.activate
70 70
                     $this->put('activate', [RolesController::class, 'activate'])
71
-                         ->middleware(['ajax'])
72
-                         ->name('activate');
71
+                            ->middleware(['ajax'])
72
+                            ->name('activate');
73 73
 
74 74
                     // admin::auth.roles.delete
75 75
                     $this->delete('delete', [RolesController::class, 'delete'])
76
-                         ->middleware(['ajax'])
77
-                         ->name('delete');
76
+                            ->middleware(['ajax'])
77
+                            ->name('delete');
78 78
 
79 79
                     $this->namespace('Roles')->group(function () {
80 80
                         static::mapRouteClasses([
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $this->dataTableGroup(function () {
96 96
             // admin::auth.roles.datatables.index
97 97
             $this->get('/', [RolesDataTablesController::class, 'index'])
98
-                 ->name('index');
98
+                    ->name('index');
99 99
         });
100 100
     }
101 101
 
Please login to merge, or discard this patch.
src/Auth/Http/Routes/AbstractRouteRegistrar.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     protected function moduleGroup(Closure $callback)
29 29
     {
30 30
         $this->prefix('authorization')
31
-             ->name('auth.')
32
-             ->group($callback);
31
+                ->name('auth.')
32
+                ->group($callback);
33 33
     }
34 34
 }
Please login to merge, or discard this patch.