Completed
Push — master ( efa664...64760b )
by Lars
04:04
created
src/voku/helper/data/xd7.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 ];
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/data/x18.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 ];
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/Bootup.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\helper;
6 6
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     $uri = (string)\preg_replace_callback(
99 99
         '/[\x80-\xFF]+/',
100
-        function ($m) {
100
+        function($m) {
101 101
           return \rawurlencode($m[0]);
102 102
         },
103 103
         $uri
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     $uri = (string)\preg_replace_callback(
107 107
         '/(?:%[89A-F][0-9A-F])+/i',
108
-        function ($m) {
108
+        function($m) {
109 109
           return \rawurlencode(UTF8::rawurldecode($m[0]));
110 110
         },
111 111
         $uri
@@ -120,8 +120,8 @@  discard block
 block discarded – undo
120 120
     ) {
121 121
       // Use ob_start() to buffer content and avoid problem of headers already sent...
122 122
       $severProtocol = ($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1');
123
-      \header($severProtocol . ' 301 Moved Permanently');
124
-      \header('Location: ' . $uri);
123
+      \header($severProtocol.' 301 Moved Permanently');
124
+      \header('Location: '.$uri);
125 125
       exit();
126 126
     }
127 127
 
Please login to merge, or discard this patch.