Test Failed
Push — develop ( 8fcf9d...8b5bdd )
by nguereza
02:43
created
src/Handler/Error/ErrorHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @class ErrorHandler
62 62
  * @package Platine\Framework\Handler\Error
63 63
  */
64
-class ErrorHandler implements ErrorHandlerInterface
65
-{
64
+class ErrorHandler implements ErrorHandlerInterface {
66 65
 
67 66
     /**
68 67
      * The content type
@@ -122,8 +121,7 @@  discard block
 block discarded – undo
122 121
      * Create new instance
123 122
      * @param LoggerInterface $logger
124 123
      */
125
-    public function __construct(LoggerInterface $logger)
126
-    {
124
+    public function __construct(LoggerInterface $logger) {
127 125
         $this->logger = $logger;
128 126
 
129 127
         //Add default renderer
Please login to merge, or discard this patch.
src/Demo/Action/User/ListAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @package Platine\Framework\Demo\Action\User
60 60
  * @template T
61 61
  */
62
-class ListAction implements RequestHandlerInterface
63
-{
62
+class ListAction implements RequestHandlerInterface {
64 63
     /**
65 64
      * The user repository
66 65
      * @var UserRepository
Please login to merge, or discard this patch.
src/Demo/Action/User/DeleteAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
  * @package Platine\Framework\Demo\Action\User
64 64
  * @template T
65 65
  */
66
-class DeleteAction implements RequestHandlerInterface
67
-{
66
+class DeleteAction implements RequestHandlerInterface {
68 67
 
69 68
     /**
70 69
      * Logger instance
Please login to merge, or discard this patch.
src/Demo/Action/User/CreateAction.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -195,9 +195,9 @@  discard block
 block discarded – undo
195 195
                 $this->template,
196 196
                 'user/create',
197 197
                 [
198
-                   'param' => $formParam,
199
-                   'status' => $statusList,
200
-                   'roles' => $roles
198
+                    'param' => $formParam,
199
+                    'status' => $statusList,
200
+                    'roles' => $roles
201 201
                 ]
202 202
             );
203 203
         }
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
             'created_at' => date('Y-m-d H:i:s'),
219 219
         ]);
220 220
 
221
-         //Handle roles
221
+            //Handle roles
222 222
         $rolesId = $param->post('roles', []);
223 223
         if (!empty($rolesId)) {
224 224
             $selectedRoles = $this->roleRepository->findAll(...$rolesId);
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                 $this->template,
236 236
                 'user/create',
237 237
                 [
238
-                   'param' => $formParam,
238
+                    'param' => $formParam,
239 239
                     'status' => $statusList,
240 240
                     'roles' => $roles
241 241
                 ]
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
  * @package Platine\Framework\Demo\Action\User
71 71
  * @template T
72 72
  */
73
-class CreateAction implements RequestHandlerInterface
74
-{
73
+class CreateAction implements RequestHandlerInterface {
75 74
 
76 75
     /**
77 76
      * Logger instance
Please login to merge, or discard this patch.
src/Demo/Action/User/LogoutAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @package Platine\Framework\Demo\Action\User
60 60
  * @template T
61 61
  */
62
-class LogoutAction implements RequestHandlerInterface
63
-{
62
+class LogoutAction implements RequestHandlerInterface {
64 63
     /**
65 64
      * The route helper instance
66 65
      * @var RouteHelper
Please login to merge, or discard this patch.
src/Demo/Action/User/EditAction.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -109,10 +109,10 @@  discard block
 block discarded – undo
109 109
      */
110 110
     protected RouteHelper $routeHelper;
111 111
 
112
-     /**
113
-     * The password hash to be used
114
-     * @var HashInterface
115
-     */
112
+        /**
113
+         * The password hash to be used
114
+         * @var HashInterface
115
+         */
116 116
     protected HashInterface $hash;
117 117
 
118 118
     /**
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
                 $this->template,
218 218
                 'user/edit',
219 219
                 [
220
-                   'param' => $formParam,
221
-                   'status' => $statusList,
222
-                   'roles' => $roles
220
+                    'param' => $formParam,
221
+                    'status' => $statusList,
222
+                    'roles' => $roles
223 223
                 ]
224 224
             );
225 225
         }
@@ -262,9 +262,9 @@  discard block
 block discarded – undo
262 262
                 $this->template,
263 263
                 'user/edit',
264 264
                 [
265
-                   'param' => $formParam,
266
-                   'status' => $statusList,
267
-                   'roles' => $roles
265
+                    'param' => $formParam,
266
+                    'status' => $statusList,
267
+                    'roles' => $roles
268 268
                 ]
269 269
             );
270 270
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
  * @package Platine\Framework\Demo\Action\User
71 71
  * @template T
72 72
  */
73
-class EditAction implements RequestHandlerInterface
74
-{
73
+class EditAction implements RequestHandlerInterface {
75 74
 
76 75
     /**
77 76
      * The logger instance
Please login to merge, or discard this patch.
src/Demo/Action/HomeAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @package Platine\Framework\Demo\Action
60 60
  * @template T
61 61
  */
62
-class HomeAction implements RequestHandlerInterface
63
-{
62
+class HomeAction implements RequestHandlerInterface {
64 63
     /**
65 64
      * The template instance
66 65
      * @var Template
Please login to merge, or discard this patch.
src/Demo/Provider/RepositoryServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class RepositoryServiceProvider
54 54
  * @package Platine\Framework
55 55
  */
56
-class RepositoryServiceProvider extends ServiceProvider
57
-{
56
+class RepositoryServiceProvider extends ServiceProvider {
58 57
 
59 58
     /**
60 59
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Demo/Provider/AppServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class AppServiceProvider
55 55
  * @package Platine\Framework
56 56
  */
57
-class AppServiceProvider extends ServiceProvider
58
-{
57
+class AppServiceProvider extends ServiceProvider {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
Please login to merge, or discard this patch.