Test Failed
Push — master ( 2b6c9f...3a7a0e )
by Russell
06:36 queued 02:40
created
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.
src/Tool/StaticSiteUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,12 +43,12 @@
 block discarded – undo
43 43
      * @param StaticSiteCrawler $crawler (Warning: Pass by reference)
44 44
      * @return array Returns an array of the config options in a format consumable by curl.
45 45
      */
46
-    public function defineProxyOpts(bool $set, StaticSiteCrawler &$crawler = null): array
46
+    public function defineProxyOpts(bool $set, StaticSiteCrawler & $crawler = null): array
47 47
     {
48 48
         if ($set && is_bool($set) && $set !== false) {
49 49
             $proxyOpts = StaticSiteContentExtractor::config()->get('curl_opts_proxy');
50 50
 
51
-            if (!$proxyOpts || !is_array($proxyOpts) || !count($proxyOpts) >0) {
51
+            if (!$proxyOpts || !is_array($proxyOpts) || !count($proxyOpts) > 0) {
52 52
                 return [];
53 53
             }
54 54
 
Please login to merge, or discard this patch.