Completed
Push — master ( 5b8a36...a237b0 )
by Brandon
02:49
created
src/DownloadCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,12 +104,12 @@
 block discarded – undo
104 104
 
105 105
         $client  = new Client();
106 106
         $request = $client->createRequest('GET', $buildUrl);
107
-        $request->getEmitter()->on('progress', function (ProgressEvent $e) use ($progressBar) {
107
+        $request->getEmitter()->on('progress', function(ProgressEvent $e) use ($progressBar) {
108 108
             if ($e->downloaded > 0) {
109 109
                 $localProgress = floor(($e->downloaded / $e->downloadSize * 100));
110 110
 
111 111
                 if ($localProgress != $this->progress) {
112
-                    $this->progress = (integer)$localProgress;
112
+                    $this->progress = (integer) $localProgress;
113 113
                     $progressBar->advance();
114 114
                 }
115 115
             }
Please login to merge, or discard this patch.
src/NewCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         $process = new Process(implode(' && ', $commands), $this->directory, null, null, null);
160 160
 
161
-        $process->run(function ($type, $line) {
161
+        $process->run(function($type, $line) {
162 162
             $this->output->write($line);
163 163
         });
164 164
 
@@ -258,12 +258,12 @@  discard block
 block discarded – undo
258 258
 
259 259
         $client  = new Client();
260 260
         $request = $client->createRequest('GET', $buildUrl);
261
-        $request->getEmitter()->on('progress', function (ProgressEvent $e) use ($progressBar) {
261
+        $request->getEmitter()->on('progress', function(ProgressEvent $e) use ($progressBar) {
262 262
             if ($e->downloaded > 0) {
263 263
                 $localProgress = floor(($e->downloaded / $e->downloadSize * 100));
264 264
 
265 265
                 if ($localProgress != $this->progress) {
266
-                    $this->progress = (integer)$localProgress;
266
+                    $this->progress = (integer) $localProgress;
267 267
                     $progressBar->advance();
268 268
                 }
269 269
             }
Please login to merge, or discard this patch.