Completed
Pull Request — master (#44)
by Pádraic
02:12
created
src/Console/Command/SelfUpdate.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Console/Command.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
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
             );
Please login to merge, or discard this patch.
src/Console/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.