Passed
Push — master ( 509030...e83fc1 )
by Webysther
08:13 queued 06:09
created
src/Http.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,13 +150,13 @@
 block discarded – undo
150 150
             $this->connections = $this->maxConnections * $mirrors;
151 151
         }
152 152
 
153
-        $fulfilled = function ($response, $path) use ($success, $complete) {
153
+        $fulfilled = function($response, $path) use ($success, $complete) {
154 154
             $body = (string) $response->getBody();
155 155
             $success($body, $path);
156 156
             $complete();
157 157
         };
158 158
 
159
-        $rejected = function ($reason, $path) use ($complete) {
159
+        $rejected = function($reason, $path) use ($complete) {
160 160
             $uri = $reason->getRequest()->getUri();
161 161
             $host = $uri->getScheme().'://'.$uri->getHost();
162 162
 
Please login to merge, or discard this patch.
src/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
             $this->delete($target);
244 244
         }
245 245
 
246
-        retry(8, function () use ($from, $target) {
246
+        retry(8, function() use ($from, $target) {
247 247
             $this->filesystem->rename($this->getGzName($from), $target);
248 248
         }, 250);
249 249
 
Please login to merge, or discard this patch.
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.
resources/index.html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         </style>
39 39
 
40 40
 
41
-        <?php if(!empty($googleAnalyticsId)) {?>
41
+        <?php if (!empty($googleAnalyticsId)) {?>
42 42
         <!-- Global site tag (gtag.js) - Google Analytics -->
43 43
         <script async src="https://www.googletagmanager.com/gtag/js?id=<?=$googleAnalyticsId?>"></script>
44 44
         <script>
Please login to merge, or discard this patch.