Passed
Branch master (a81da3)
by Yohann
31:42 queued 29:53
created
src/Public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 $port = ($_SERVER['SERVER_PORT'] ?? false) === 443;
6 6
 $https = ($_SERVER['HTTPS'] ?? false) === 'on';
7 7
 
8
-define('SITE', (($proto or $port or $https) ? 'https': 'http') . '://' . $_SERVER['SERVER_NAME']);
8
+define('SITE', (($proto or $port or $https) ? 'https' : 'http') . '://' . $_SERVER['SERVER_NAME']);
9 9
 
10 10
 session_start();
11 11
 
Please login to merge, or discard this patch.
src/Controllers/Controller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     // function by Rakesh Sankar
25 25
 
26 26
     $search = array(
27
-        '/\>[^\S ]+/s',     // strip whitespaces after tags, except space
28
-        '/[^\S ]+\</s',     // strip whitespaces before tags, except space
29
-        '/(\s)+/s',         // shorten multiple whitespace sequences
27
+        '/\>[^\S ]+/s', // strip whitespaces after tags, except space
28
+        '/[^\S ]+\</s', // strip whitespaces before tags, except space
29
+        '/(\s)+/s', // shorten multiple whitespace sequences
30 30
         '/<!--(.|\s)*?-->/' // Remove HTML comments
31 31
     );
32 32
 
Please login to merge, or discard this patch.