Completed
Push — master ( 77ebaa...7f75f3 )
by Webysther
02:10
created
src/Command/Create.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     {
175 175
         $from = getcwd().'/resources/public/';
176 176
         foreach (new \DirectoryIterator($from) as $fileInfo) {
177
-            if($fileInfo->isDot()) continue;
177
+            if ($fileInfo->isDot()) continue;
178 178
             $file = $fileInfo->getFilename();
179 179
             $to = $this->filesystem->getFullPath($file);
180 180
             copy($from.$file, $to);
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 
206 206
         $this->progressBar->start(count($this->providerIncludes));
207 207
 
208
-        $success = function ($body, $path) {
208
+        $success = function($body, $path) {
209 209
             $this->provider->setDownloaded($path);
210 210
             $this->filesystem->write($path, $body);
211 211
         };
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
         $this->http->pool(
333 333
             $generator,
334 334
             // Success
335
-            function ($body, $path) {
335
+            function($body, $path) {
336 336
                 $this->filesystem->write($path, $body);
337 337
                 $this->package->setDownloaded($path);
338 338
             },
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      */
349 349
     protected function getClosureComplete():Closure
350 350
     {
351
-        return function () {
351
+        return function() {
352 352
             $this->progressBar->progress();
353 353
         };
354 354
     }
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,9 @@
 block discarded – undo
174 174
     {
175 175
         $from = getcwd().'/resources/public/';
176 176
         foreach (new \DirectoryIterator($from) as $fileInfo) {
177
-            if($fileInfo->isDot()) continue;
177
+            if($fileInfo->isDot()) {
178
+                continue;
179
+            }
178 180
             $file = $fileInfo->getFilename();
179 181
             $to = $this->filesystem->getFullPath($file);
180 182
             copy($from.$file, $to);
Please login to merge, or discard this patch.