Test Failed
Push — master ( 7a0753...802928 )
by Russell
12:42 queued 13s
created
src/Tool/StaticSiteUrlList.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@
 block discarded – undo
373 373
         foreach ($this->urls['regular'] as $url => $urlData) {
374 374
             // TODO Log this in exodus.log
375 375
             if (empty($urlData['url'])) {
376
-               // echo $urlData['mime'] . "\n";
376
+                // echo $urlData['mime'] . "\n";
377 377
                 continue;
378 378
             }
379 379
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -624,12 +624,11 @@  discard block
 block discarded – undo
624 624
              */
625 625
             $sng = singleton(StaticSiteMimeProcessor::class);
626 626
             $mime = $sng->IsOfHtml($processedURLData['mime']) ?
627
-                $processedURLData['mime'] :
628
-                self::$undefined_mime_type;
627
+                $processedURLData['mime'] : self::$undefined_mime_type;
629 628
             $processedURL = $processedURLData['url'];
630 629
         }
631 630
 
632
-        $default = function ($fragment) use ($mime) {
631
+        $default = function($fragment) use ($mime) {
633 632
             return [
634 633
                 'url' => $fragment,
635 634
                 'mime' => $mime,
@@ -699,7 +698,7 @@  discard block
 block discarded – undo
699 698
             }
700 699
 
701 700
             return $this->urls['regular'][$url];
702
-        } elseif(isset($this->urls['inferred'][$url])) {
701
+        } elseif (isset($this->urls['inferred'][$url])) {
703 702
             return $this->urls['inferred'][$url];
704 703
         }
705 704
 
Please login to merge, or discard this patch.
src/Transform/StaticSiteFileTransformer.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -302,9 +302,9 @@
 block discarded – undo
302 302
     public function versionFile(string $relativeFilePath): string
303 303
     {
304 304
         // A while loop provides the ability to continually add further duplicates with the right name
305
-		$base = ASSETS_PATH;
305
+        $base = ASSETS_PATH;
306 306
 
307
-		while(file_exists("$base/$relativeFilePath")) {
307
+        while(file_exists("$base/$relativeFilePath")) {
308 308
             $i = isset($i) ? ($i + 1) : 2;
309 309
             $oldFilePath = $relativeFilePath;
310 310
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         } elseif ($newExt) {
203 203
             $useExtension = $newExt;
204 204
             $logMessagePt1 = "NOTICE: Bad file-extension: \"$oldExt\". Assigned new file-extension: \"$newExt\" based on MimeType.";
205
-            $logMessagePt2 = PHP_EOL."\t - FROM: \"$url\"".PHP_EOL."\t - TO: \"$origFilename.$newExt\"";
205
+            $logMessagePt2 = PHP_EOL . "\t - FROM: \"$url\"" . PHP_EOL . "\t - TO: \"$origFilename.$newExt\"";
206 206
 
207 207
             $this->utils->log(' - ' . $logMessagePt1 . $logMessagePt2, '', $mime);
208 208
         } else {
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
         // A while loop provides the ability to continually add further duplicates with the right name
305 305
 		$base = ASSETS_PATH;
306 306
 
307
-		while(file_exists("$base/$relativeFilePath")) {
307
+		while (file_exists("$base/$relativeFilePath")) {
308 308
             $i = isset($i) ? ($i + 1) : 2;
309 309
             $oldFilePath = $relativeFilePath;
310 310
 
Please login to merge, or discard this patch.