Test Failed
Push — develop ( f013d6...41fb7d )
by nguereza
02:54
created
src/Demo/Action/Permission/CreateAction.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
     public function handle(ServerRequestInterface $request): ResponseInterface
133 133
     {
134 134
         $permissions = $this->permissionRepository
135
-                                                  ->orderBy('code')
136
-                                                  ->all();
135
+                                                    ->orderBy('code')
136
+                                                    ->all();
137 137
 
138 138
         if ($request->getMethod() === 'GET') {
139 139
             return new TemplateResponse(
@@ -172,8 +172,8 @@  discard block
 block discarded – undo
172 172
                 $this->template,
173 173
                 'permission/create',
174 174
                 [
175
-                   'param' => $formParam,
176
-                   'permissions' => $permissions
175
+                    'param' => $formParam,
176
+                    'permissions' => $permissions
177 177
                 ]
178 178
             );
179 179
         }
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
                 $this->template,
195 195
                 'permission/create',
196 196
                 [
197
-                   'param' => $formParam,
198
-                   'permissions' => $permissions
197
+                    'param' => $formParam,
198
+                    'permissions' => $permissions
199 199
                 ]
200 200
             );
201 201
         }
Please login to merge, or discard this patch.
src/Demo/Action/Permission/EditAction.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
         }
143 143
 
144 144
         $permissions = $this->permissionRepository
145
-                                                  ->orderBy('code')
146
-                                                  ->all();
145
+                                                    ->orderBy('code')
146
+                                                    ->all();
147 147
 
148 148
 
149 149
         $entityToFormParam = (new PermissionParam())->fromEntity($permission);
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
                 $this->template,
186 186
                 'permission/edit',
187 187
                 [
188
-                   'param' => $formParam,
189
-                   'permissions' => $permissions
188
+                    'param' => $formParam,
189
+                    'permissions' => $permissions
190 190
                 ]
191 191
             );
192 192
         }
@@ -204,8 +204,8 @@  discard block
 block discarded – undo
204 204
                 $this->template,
205 205
                 'permission/edit',
206 206
                 [
207
-                   'param' => $formParam,
208
-                   'permissions' => $permissions
207
+                    'param' => $formParam,
208
+                    'permissions' => $permissions
209 209
                 ]
210 210
             );
211 211
         }
Please login to merge, or discard this patch.
src/Demo/Action/Permission/ListAction.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@
 block discarded – undo
92 92
     public function handle(ServerRequestInterface $request): ResponseInterface
93 93
     {
94 94
         $permissions = $this->permissionRepository
95
-                                                  ->orderBy('code')
96
-                                                  ->all();
95
+                                                    ->orderBy('code')
96
+                                                    ->all();
97 97
 
98 98
         return new TemplateResponse(
99 99
             $this->template,
Please login to merge, or discard this patch.
src/Demo/Form/Validator/PermissionValidator.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -94,18 +94,18 @@
 block discarded – undo
94 94
     public function setRules(): void
95 95
     {
96 96
         $this->validator->addRules('code', [
97
-           new NotEmpty(),
98
-           new MinLength(2),
99
-           new AlphaDash()
97
+            new NotEmpty(),
98
+            new MinLength(2),
99
+            new AlphaDash()
100 100
         ]);
101 101
 
102 102
         $this->validator->addRules('description', [
103
-           new NotEmpty(),
104
-           new MinLength(3)
103
+            new NotEmpty(),
104
+            new MinLength(3)
105 105
         ]);
106 106
 
107 107
         $this->validator->addRules('depend', [
108
-           new MinLength(2)
108
+            new MinLength(2)
109 109
         ]);
110 110
     }
111 111
 }
Please login to merge, or discard this patch.