Passed
Push — develop ( 48e2a7...5f7e7d )
by Jens
04:30 queued 37s
created
src/cc/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         public static function isLocalhost()
98 98
         {
99 99
             $ipchecklist = array("localhost", "127.0.0.1", "::1");
100
-            return in_array($_SERVER['REMOTE_ADDR'], $ipchecklist,true);
100
+            return in_array($_SERVER['REMOTE_ADDR'], $ipchecklist, true);
101 101
         }
102 102
     }
103 103
 }
104 104
\ No newline at end of file
Please login to merge, or discard this patch.
src/CloudControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         if (PHP_SAPI === 'cli-server') {
50 50
             if (preg_match('/\.(?:js|ico|txt|gif|jpg|jpeg|png|bmp|css|html|htm|php|pdf|exe|eot|svg|ttf|woff|ogg|mp3|xml|map|scss)$/', $_SERVER['REQUEST_URI'])) {
51 51
                 if (file_exists($dir . $_SERVER["REQUEST_URI"])) {
52
-                    return true;    // serve the requested resource as-is.
52
+                    return true; // serve the requested resource as-is.
53 53
                 }
54 54
             }
55 55
         }
Please login to merge, or discard this patch.