Completed
Pull Request — master (#7)
by Amine
01:34
created
src/Commands/InteractiveCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     protected function init()
27 27
     {
28 28
         $this->name('Interactive')
29
-             ->description('Reads the command arguments and options interactively.');
29
+                ->description('Reads the command arguments and options interactively.');
30 30
         $this->helper = SyntaxHelper::instance();
31 31
         $this->confirmSyntax = S::optional(S::boolean(), false);
32 32
     }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $description = $this->parent->describe($name);
99 99
         $this->console->out(
100 100
             "<success>{$name}</success> <warn>{$text}</warn>"
101
-          . " {$description} <warn>{$default}</warn><br>"
101
+            . " {$description} <warn>{$default}</warn><br>"
102 102
         );
103 103
     }
104 104
 
Please login to merge, or discard this patch.
src/Commands/HelpCommand.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     protected function init()
15 15
     {
16 16
         $this->name('Help')
17
-             ->description('Shows the help message.');
17
+                ->description('Shows the help message.');
18 18
         $this->helper = SyntaxHelper::instance();
19 19
     }
20 20
 
@@ -23,10 +23,10 @@  discard block
 block discarded – undo
23 23
         $parent = $this->parent;
24 24
 
25 25
         $text = "<info>{$parent->name}</info> version <info>{$parent->version}</info>"
26
-              . "<br><br>{$parent->description}<br><br>"
27
-              . $this->syntaxHelp()
28
-              . $this->optionsHelp()
29
-              . $this->subCommandsHelp();
26
+                . "<br><br>{$parent->description}<br><br>"
27
+                . $this->syntaxHelp()
28
+                . $this->optionsHelp()
29
+                . $this->subCommandsHelp();
30 30
 
31 31
         $this->console()->out($text);
32 32
     }
Please login to merge, or discard this patch.
src/Commands/VersionCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     protected function init()
8 8
     {
9 9
         $this->name('Version')
10
-             ->description('Shows the version.');
10
+                ->description('Shows the version.');
11 11
     }
12 12
 
13 13
     protected function execute()
Please login to merge, or discard this patch.