Test Failed
Push — master ( cfbad9...776f3d )
by Russell
03:50
created
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.
src/Transform/StaticSiteFileTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
         } elseif ($newExt) {
160 160
             $useExtension = $newExt;
161 161
             $logMessagePt1 = "NOTICE: Bad file-extension: \"$oldExt\". Assigned new file-extension: \"$newExt\" based on MimeType.";
162
-            $logMessagePt2 = PHP_EOL."\t - FROM: \"$url\"".PHP_EOL."\t - TO: \"$origFilename.$newExt\"";
162
+            $logMessagePt2 = PHP_EOL . "\t - FROM: \"$url\"" . PHP_EOL . "\t - TO: \"$origFilename.$newExt\"";
163 163
 
164 164
             $this->utils->log(' - ' . $logMessagePt1 . $logMessagePt2, '', $mime);
165 165
         } else {
Please login to merge, or discard this patch.