@@ -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 |
@@ -114,7 +114,7 @@ |
||
114 | 114 | */ |
115 | 115 | protected function update(Updater $updater) |
116 | 116 | { |
117 | - $this->output->writeln('Updating...'.PHP_EOL); |
|
117 | + $this->output->writeln('Updating...' . PHP_EOL); |
|
118 | 118 | try { |
119 | 119 | $result = $updater->update(); |
120 | 120 |
@@ -2,13 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Povils\PHPMND\Console\Command; |
4 | 4 | |
5 | -use Povils\PHPMND\Console\Application; |
|
6 | 5 | use Symfony\Component\Console\Command\Command as BaseCommand; |
7 | 6 | use Symfony\Component\Console\Input\InputInterface; |
8 | 7 | use Symfony\Component\Console\Input\InputOption; |
9 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 9 | use Humbug\SelfUpdate\Updater; |
11 | -use Humbug\SelfUpdate\Strategy\GithubStrategy; |
|
12 | 10 | |
13 | 11 | class SelfUpdate extends BaseCommand |
14 | 12 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | if ('run' === $input->getFirstArgument()) { |
74 | - $input = new ArrayInput(['run','--help']); |
|
74 | + $input = new ArrayInput(['run', '--help']); |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | parent::doRun($input, $output); |