@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\Console\Input\InputOption; |
9 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 10 | use Humbug\SelfUpdate\Updater; |
11 | -use Humbug\SelfUpdate\Strategy\GithubStrategy; |
|
12 | 11 | |
13 | 12 | class SelfUpdate extends BaseCommand |
14 | 13 | { |
@@ -104,7 +104,7 @@ |
||
104 | 104 | */ |
105 | 105 | private function update(Updater $updater) |
106 | 106 | { |
107 | - $this->output->writeln('Updating...'.PHP_EOL); |
|
107 | + $this->output->writeln('Updating...' . PHP_EOL); |
|
108 | 108 | try { |
109 | 109 | $result = $updater->update(); |
110 | 110 |
@@ -203,7 +203,7 @@ |
||
203 | 203 | if (false === is_array($result)) { |
204 | 204 | return array_filter( |
205 | 205 | explode(',', $result), |
206 | - function ($value) { |
|
206 | + function($value) { |
|
207 | 207 | return false === empty($value); |
208 | 208 | } |
209 | 209 | ); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | if ('run' === (string) $input) { |
45 | - $input = new ArrayInput(['run','--help']); |
|
45 | + $input = new ArrayInput(['run', '--help']); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | return parent::doRun($input, $output); |