Completed
Push — master ( e8fa7c...f772f6 )
by Amine
03:09
created
src/Command.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
 
328 328
                 else
329 329
                     $this->args($this->syntax()->parse($args))
330
-                         ->execute();
330
+                            ->execute();
331 331
             }
332 332
         } catch (\Exception $e) {
333 333
             $this->error(
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
         if (! ($this instanceof HelpCommand) && ! ($this instanceof VersionCommand)) {
379 379
             $helpCommand = new HelpCommand($this);
380 380
             $this->command('--help', $helpCommand)
381
-                 ->command('help', $helpCommand);
381
+                    ->command('help', $helpCommand);
382 382
 
383 383
             $versionCommand = new VersionCommand($this);
384 384
             $this->command('--version', $versionCommand);
Please login to merge, or discard this patch.
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.