Completed
Pull Request — master (#10)
by Amine
01:38
created
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 setupSubCommands()
Please login to merge, or discard this patch.
src/Command.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -46,16 +46,16 @@  discard block
 block discarded – undo
46 46
     public function __construct()
47 47
     {
48 48
         $this->commands([])
49
-             ->name('Unknown')
50
-             ->version('1.0.0')
51
-             ->description('...')
52
-             ->descriptions([])
53
-             ->options([])
54
-             ->console(new Console)
55
-             ->fs(new Filesystem('.'))
56
-             ->configPaths([])
57
-             ->setupSubCommands()
58
-             ->init();
49
+                ->name('Unknown')
50
+                ->version('1.0.0')
51
+                ->description('...')
52
+                ->descriptions([])
53
+                ->options([])
54
+                ->console(new Console)
55
+                ->fs(new Filesystem('.'))
56
+                ->configPaths([])
57
+                ->setupSubCommands()
58
+                ->init();
59 59
     }
60 60
 
61 61
     /**
@@ -319,8 +319,8 @@  discard block
 block discarded – undo
319 319
     protected function setupSubCommands()
320 320
     {
321 321
         return $this->command('--help', new HelpCommand($this))
322
-             ->command('--version', new VersionCommand($this))
323
-             ->command('-i', new InteractiveCommand($this));
322
+                ->command('--version', new VersionCommand($this))
323
+                ->command('-i', new InteractiveCommand($this));
324 324
     }
325 325
 
326 326
     public function describe(string $name, string $description = null)
Please login to merge, or discard this patch.
src/SubCommand.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@
 block discarded – undo
23 23
     {
24 24
         parent::__construct();
25 25
         $this->parent($parent)
26
-             ->console($parent->console())
27
-             ->fs($parent->fs)
28
-             ->templatesLoader($parent->templatesLoader);
29
-             $this->config = $parent->config;
26
+                ->console($parent->console())
27
+                ->fs($parent->fs)
28
+                ->templatesLoader($parent->templatesLoader);
29
+                $this->config = $parent->config;
30 30
     }
31 31
 
32 32
     /**
Please login to merge, or discard this patch.