Completed
Push — master ( 383369...1980fb )
by Amine
02:16
created
src/Commands/VersionCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
     {
20 20
         $c = $this->parent();
21 21
         $this->console
22
-             ->green()->inline($c->name())
23
-             ->white()->inline(' version ')
24
-             ->yellow()->out($c->version());
22
+                ->green()->inline($c->name())
23
+                ->white()->inline(' version ')
24
+                ->yellow()->out($c->version());
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Commands/HelpCommand.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -35,15 +35,15 @@  discard block
 block discarded – undo
35 35
         $c = $this->console();
36 36
 
37 37
         $c->br()
38
-          ->green()
39
-          ->inline($command->name() . ' ')
40
-          ->yellow()
41
-          ->out($command->version())
42
-          ->br()
43
-          ->out($command->description())
44
-          ->br()
45
-          ->yellow()
46
-          ->inline('Arguments: ');
38
+            ->green()
39
+            ->inline($command->name() . ' ')
40
+            ->yellow()
41
+            ->out($command->version())
42
+            ->br()
43
+            ->out($command->description())
44
+            ->br()
45
+            ->yellow()
46
+            ->inline('Arguments: ');
47 47
 
48 48
         $args = F\s(array_keys($command->syntax()->fields()))
49 49
             ->then(F\join(' '))
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
                 ->get() * 2;
68 68
             foreach ($command->subCommands() as $name => $cmd) {
69 69
                 $c->tab()
70
-                  ->padding($padding)->char(' ')
71
-                  ->label("<green>{$name}</green>")
72
-                  ->result($cmd->description());
70
+                    ->padding($padding)->char(' ')
71
+                    ->label("<green>{$name}</green>")
72
+                    ->result($cmd->description());
73 73
             }
74 74
         }
75 75
     }
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
             $c->out("(Required)");
87 87
         } else {
88 88
             $c->inline("(default: ")
89
-              ->white()->inline(json_encode($syntax->getDefault()))
90
-              ->yellow()->out(" )");
89
+                ->white()->inline(json_encode($syntax->getDefault()))
90
+                ->yellow()->out(" )");
91 91
         }
92 92
 
93 93
         if ($syntax instanceof ArraySyntax) {
Please login to merge, or discard this patch.
src/Command.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
 
329 329
                 else
330 330
                     $this->args($this->syntax()->parse($args))
331
-                         ->execute();
331
+                            ->execute();
332 332
             }
333 333
         } catch (\Exception $e) {
334 334
             $this->error(
Please login to merge, or discard this patch.