Passed
Push — develop ( e3e306...5da5fd )
by nguereza
04:19 queued 01:01
created
src/Migration/Command/MigrationCreateCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     ) {
82 82
         parent::__construct($app, $repository, $config, $filesystem);
83 83
         $this->setName('migration:create')
84
-             ->setDescription('Create a new migration');
84
+                ->setDescription('Create a new migration');
85 85
 
86 86
         $this->addArgument('name', 'name of migration', null, false, true);
87 87
     }
Please login to merge, or discard this 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
  * @template T
62 62
  * @extends AbstractCommand<T>
63 63
  */
64
-class MigrationCreateCommand extends AbstractCommand
65
-{
64
+class MigrationCreateCommand extends AbstractCommand {
66 65
     /**
67 66
      * The migration name
68 67
      * @var string
@@ -89,8 +88,7 @@  discard block
 block discarded – undo
89 88
     /**
90 89
      * {@inheritdoc}
91 90
      */
92
-    public function execute()
93
-    {
91
+    public function execute() {
94 92
         $writer = $this->io()->writer();
95 93
 
96 94
         $version = date('Ymd_His');
Please login to merge, or discard this patch.
src/Console/Command/MakeProviderCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     ) {
88 88
         parent::__construct($application, $filesystem);
89 89
         $this->setName('make:provider')
90
-               ->setDescription('Command to generate new service provider class');
90
+                ->setDescription('Command to generate new service provider class');
91 91
     }
92 92
 
93 93
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class MakeProviderCommand
58 58
  * @package Platine\Framework\Console\Command
59 59
  */
60
-class MakeProviderCommand extends MakeCommand
61
-{
60
+class MakeProviderCommand extends MakeCommand {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeMiddlewareCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     ) {
74 74
         parent::__construct($application, $filesystem);
75 75
         $this->setName('make:middleware')
76
-               ->setDescription('Command to generate new middleware class');
76
+                ->setDescription('Command to generate new middleware class');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class MakeMiddlewareCommand
56 56
  * @package Platine\Framework\Console\Command
57 57
  */
58
-class MakeMiddlewareCommand extends MakeCommand
59
-{
58
+class MakeMiddlewareCommand extends MakeCommand {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeFormParamCommand.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     ) {
89 89
         parent::__construct($application, $filesystem);
90 90
         $this->setName('make:param')
91
-               ->setDescription('Command to generate new form parameter class');
91
+                ->setDescription('Command to generate new form parameter class');
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
  * @class MakeFormParamCommand
59 59
  * @package Platine\Framework\Console\Command
60 60
  */
61
-class MakeFormParamCommand extends MakeCommand
62
-{
61
+class MakeFormParamCommand extends MakeCommand {
63 62
     /**
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
                 }
124 124
 
125 125
                 if (isset($values[2])) {
126
-                    $required = in_array($values[2], ['true', '1', 'yes', 'on', 'y']) ;
126
+                    $required = in_array($values[2], ['true', '1', 'yes', 'on', 'y']);
127 127
                 }
128 128
 
129 129
                 if (isset($values[3])) {
Please login to merge, or discard this patch.
src/Console/Command/MakeEntityCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     ) {
94 94
         parent::__construct($application, $filesystem);
95 95
         $this->setName('make:entity')
96
-               ->setDescription('Command to generate new entity class');
96
+                ->setDescription('Command to generate new entity class');
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class MakeEntityCommand
58 58
  * @package Platine\Framework\Console\Command
59 59
  */
60
-class MakeEntityCommand extends MakeCommand
61
-{
60
+class MakeEntityCommand extends MakeCommand {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeValidatorCommand.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     ) {
85 85
         parent::__construct($application, $filesystem);
86 86
         $this->setName('make:validator')
87
-               ->setDescription('Command to generate new validator class');
87
+                ->setDescription('Command to generate new validator class');
88 88
     }
89 89
 
90 90
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,8 +170,8 @@
 block discarded – undo
170 170
     {
171 171
         $content = parent::createClass();
172 172
 
173
-        $formParameter =  $this->replaceFormParameterName($content);
174
-        $validationDataBody =  $this->getValidationDataBody($formParameter);
173
+        $formParameter = $this->replaceFormParameterName($content);
174
+        $validationDataBody = $this->getValidationDataBody($formParameter);
175 175
 
176 176
         return $this->getValidationRulesBody($validationDataBody);
177 177
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 block discarded – undo
60 60
  * @class MakeValidatorCommand
61 61
  * @package Platine\Framework\Console\Command
62 62
  */
63
-class MakeValidatorCommand extends MakeCommand
64
-{
63
+class MakeValidatorCommand extends MakeCommand {
65 64
     /**
66 65
      * {@inheritdoc}
67 66
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeEventCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     ) {
74 74
         parent::__construct($application, $filesystem);
75 75
         $this->setName('make:event')
76
-               ->setDescription('Command to generate new event class');
76
+                ->setDescription('Command to generate new event class');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class MakeEventCommand
56 56
  * @package Platine\Framework\Console\Command
57 57
  */
58
-class MakeEventCommand extends MakeCommand
59
-{
58
+class MakeEventCommand extends MakeCommand {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeRepositoryCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     ) {
82 82
         parent::__construct($application, $filesystem);
83 83
         $this->setName('make:repository')
84
-               ->setDescription('Command to generate new repository class');
84
+                ->setDescription('Command to generate new repository class');
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class MakeRepositoryCommand
58 58
  * @package Platine\Framework\Console\Command
59 59
  */
60
-class MakeRepositoryCommand extends MakeCommand
61
-{
60
+class MakeRepositoryCommand extends MakeCommand {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeActionCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     ) {
77 77
         parent::__construct($application, $filesystem);
78 78
         $this->setName('make:action')
79
-               ->setDescription('Command to generate new request handler class');
79
+                ->setDescription('Command to generate new request handler class');
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
  * @class MakeActionCommand
59 59
  * @package Platine\Framework\Console\Command
60 60
  */
61
-class MakeActionCommand extends MakeCommand
62
-{
61
+class MakeActionCommand extends MakeCommand {
63 62
     /**
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.