Passed
Push — develop ( b37dd3...630f17 )
by Jens
03:49
created
src/install/_index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 if (PHP_SAPI === 'cli-server') {
7 7
     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'])) {
8 8
         if (file_exists(__DIR__ . $_SERVER["REQUEST_URI"])) {
9
-            return false;    // serve the requested resource as-is.
9
+            return false; // serve the requested resource as-is.
10 10
         }
11 11
     }
12 12
 }
Please login to merge, or discard this patch.
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.