Completed
Branch master (a04be2)
by Anton
08:29
created
src/Command/Init/AllCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Bluzman\Input;
10 10
 use Bluzman\Command;
11 11
 use Bluzman\Validation\Rules\DirectoryEmpty;
12
-use Respect;
13 12
 use Respect\Validation\Validator as v;
14 13
 use Symfony\Component\Console\Input\InputInterface;
15 14
 use Symfony\Component\Console\Input\InputOption;
Please login to merge, or discard this patch.
src/Command/Init/ControllerCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     }
50 50
 
51 51
     /**
52
-     * @param $fs
52
+     * @param Filesystem $fs
53 53
      */
54 54
     public function setFs($fs)
55 55
     {
Please login to merge, or discard this patch.
src/Command/Init/ModuleCommand.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@
 block discarded – undo
105 105
     /**
106 106
      *
107 107
      *
108
-     * @param $path
109
-     * @param array $subfolders
108
+     * @param string $path
109
+     * @param string[] $subfolders
110 110
      */
111 111
     protected function addSubFolders($path, array $subfolders = [])
112 112
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 namespace Bluzman\Command\Init;
8 8
 
9 9
 use Bluzman\Command;
10
-use Respect;
11 10
 use Respect\Validation\Validator as v;
12 11
 use Symfony\Component\Console\Input\InputInterface;
13 12
 use Symfony\Component\Console\Input\InputOption;
Please login to merge, or discard this patch.
src/Command/AbstractCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
                 $this->question("Please enter the " . trim(strtolower($defOption->getDescription()), ' .'))
228 228
             );
229 229
             $question->setValidator(
230
-                function ($value) use ($name, $output, $helper, $defOption) {
230
+                function($value) use ($name, $output, $helper, $defOption) {
231 231
                     $defOption->validate($value);
232 232
 
233 233
                     $this->getInput()->setOption($name, $value);
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
                 $this->question("Please enter the " . trim(strtolower($defArgument->getDescription()), ' .'))
282 282
             );
283 283
             $question->setValidator(
284
-                function ($value) use ($name, $output, $helper, $defArgument) {
284
+                function($value) use ($name, $output, $helper, $defArgument) {
285 285
                     $defArgument->validate($value);
286 286
 
287 287
                     $this->getInput()->setArgument($name, $value);
Please login to merge, or discard this patch.