@@ -36,7 +36,7 @@ |
||
| 36 | 36 | { |
| 37 | 37 | return preg_replace_callback( |
| 38 | 38 | '/(?:^|_)([a-z])/', |
| 39 | - function ($match) { |
|
| 39 | + function($match) { |
|
| 40 | 40 | return strtoupper($match[1]); |
| 41 | 41 | }, |
| 42 | 42 | $string |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | if ('run' === (string) $input) { |
| 44 | - $input = new ArrayInput(['run','--help']); |
|
| 44 | + $input = new ArrayInput(['run', '--help']); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | parent::doRun($input, $output); |
@@ -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 | |