Completed
Push — master ( c901c8...8cdaf4 )
by Marcus
02:31
created
src/Controller/Admin/Phpinfo.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
 
38 38
         ob_start();
39 39
         phpinfo();
40
-        preg_match ('%<style type="text/css">(.*?)</style>.*?(<body>.*</body>)%s', ob_get_clean(), $matches);
40
+        preg_match('%<style type="text/css">(.*?)</style>.*?(<body>.*</body>)%s', ob_get_clean(), $matches);
41 41
         $html = '<div class=\'phpinfodisplay\'><style type=\'text/css\'>';
42 42
 
43
-        $html .= implode( "\n",
43
+        $html .= implode("\n",
44 44
             array_map(
45
-                function ($i) {
46
-                    return ".phpinfodisplay " . preg_replace( "/,/", ",.phpinfodisplay ", $i );
45
+                function($i) {
46
+                    return ".phpinfodisplay ".preg_replace("/,/", ",.phpinfodisplay ", $i);
47 47
                 },
48 48
                 preg_split('/\n/', $matches[1])
49 49
             )
Please login to merge, or discard this patch.