@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | $this->filesystem->move(self::DOT); |
98 | 98 | |
99 | 99 | // Clean |
100 | - if(!$this->input->getOption('no-clean')){ |
|
100 | + if (!$this->input->getOption('no-clean')) { |
|
101 | 101 | $this->setExitCode($this->clean->execute($input, $output)); |
102 | 102 | } |
103 | 103 | |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | { |
194 | 194 | $from = getcwd().'/resources/public/'; |
195 | 195 | foreach (new \DirectoryIterator($from) as $fileInfo) { |
196 | - if($fileInfo->isDot()) continue; |
|
196 | + if ($fileInfo->isDot()) continue; |
|
197 | 197 | $file = $fileInfo->getFilename(); |
198 | 198 | $to = $this->filesystem->getFullPath($file); |
199 | 199 | copy($from.$file, $to); |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | |
225 | 225 | $this->progressBar->start(count($this->providerIncludes)); |
226 | 226 | |
227 | - $success = function ($body, $path) { |
|
227 | + $success = function($body, $path) { |
|
228 | 228 | $this->provider->setDownloaded($path); |
229 | 229 | $this->filesystem->write($path, $body); |
230 | 230 | }; |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | ]; |
273 | 273 | } |
274 | 274 | |
275 | - if(!count($rows)){ |
|
275 | + if (!count($rows)) { |
|
276 | 276 | return $this; |
277 | 277 | } |
278 | 278 | |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | $this->http->pool( |
363 | 363 | $generator, |
364 | 364 | // Success |
365 | - function ($body, $path) { |
|
365 | + function($body, $path) { |
|
366 | 366 | $this->filesystem->write($path, $body); |
367 | 367 | $this->package->setDownloaded($path); |
368 | 368 | }, |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | */ |
379 | 379 | protected function getClosureComplete():Closure |
380 | 380 | { |
381 | - return function () { |
|
381 | + return function() { |
|
382 | 382 | $this->progressBar->progress(); |
383 | 383 | }; |
384 | 384 | } |