Test Failed
Push — develop ( afcd85...c5c862 )
by nguereza
03:41
created
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/UserServiceProvider.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * @class UserServiceProvider
62 62
  * @package Platine\Framework
63 63
  */
64
-class UserServiceProvider extends ServiceProvider
65
-{
64
+class UserServiceProvider extends ServiceProvider {
66 65
 
67 66
     /**
68 67
      * {@inheritdoc}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     public function addRoutes(Router $router): void
85 85
     {
86
-        $router->group('/users', function (Router $router) {
86
+        $router->group('/users', function(Router $router) {
87 87
             $router->get('', ListAction::class, 'user_list', ['permission' => 'view_user']);
88 88
             $router->get('/detail/{id:i}', DetailAction::class, 'user_detail');
89 89
             $router->post('/batch', BatchAction::class, 'user_batch');
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.
src/Demo/Form/Param/AuthParam.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 AuthParam
54 54
  * @package Platine\Framework\Demo\Form\Param
55 55
  */
56
-class AuthParam extends BaseParam
57
-{
56
+class AuthParam extends BaseParam {
58 57
     /**
59 58
      * The username
60 59
      * @var string
Please login to merge, or discard this patch.
src/Demo/Form/Param/UserParam.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 UserParam
55 55
  * @package Platine\Framework\Demo\Form\Param
56 56
  */
57
-class UserParam extends BaseParam
58
-{
57
+class UserParam extends BaseParam {
59 58
     /**
60 59
      * The username
61 60
      * @var string
Please login to merge, or discard this patch.
src/Console/Command/ConfigCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @package Platine\Framework\Console\Command
57 57
  * @template T
58 58
  */
59
-class ConfigCommand extends Command
60
-{
59
+class ConfigCommand extends Command {
61 60
 
62 61
     /**
63 62
      * The configuration instance
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
      * Create new instance
70 69
      * @param Config<T> $config
71 70
      */
72
-    public function __construct(Config $config)
73
-    {
71
+    public function __construct(Config $config) {
74 72
         parent::__construct('config', 'Command to manage configuration');
75 73
 
76 74
         $this->addOption('-l|--list', 'List the configuration', '', false);
@@ -82,8 +80,7 @@  discard block
 block discarded – undo
82 80
     /**
83 81
      * {@inheritodc}
84 82
      */
85
-    public function execute()
86
-    {
83
+    public function execute() {
87 84
         if ($this->getOptionValue('list')) {
88 85
             $this->showConfigList();
89 86
         }
Please login to merge, or discard this patch.
src/Console/Command/VendorPublishCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @package Platine\Framework\Console\Command
61 61
  * @template T
62 62
  */
63
-class VendorPublishCommand extends Command
64
-{
63
+class VendorPublishCommand extends Command {
65 64
 
66 65
     /**
67 66
      * Application instance
@@ -128,8 +127,7 @@  discard block
 block discarded – undo
128 127
     /**
129 128
      * {@inheritodc}
130 129
      */
131
-    public function execute()
132
-    {
130
+    public function execute() {
133 131
         $writer = $this->io()->writer();
134 132
         $name = $this->getArgumentValue('name');
135 133
         $writer->boldGreen(sprintf('PUBLISH OF PACKAGE [%s]', $name), true)->eol();
Please login to merge, or discard this patch.