Test Failed
Push — master ( 2ba3de...4dd200 )
by Justin
43:10 queued 39:05
created
system/packages/com.jukusoft.cms.tools/classes/phpinfopage.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
 
28 28
 class PHPInfoPage extends PageType {
29 29
 
30
-	public function getContent(): string {
31
-		if (isset($_REQUEST['no_design'])) {
32
-			phpinfo();
33
-			exit;
34
-		} else {
35
-			/*$content = "";
30
+    public function getContent(): string {
31
+        if (isset($_REQUEST['no_design'])) {
32
+            phpinfo();
33
+            exit;
34
+        } else {
35
+            /*$content = "";
36 36
 
37 37
 			ob_start();
38 38
 			phpinfo();
@@ -41,23 +41,23 @@  discard block
 block discarded – undo
41 41
 
42 42
 			return $content;*/
43 43
 
44
-			//show iframe
45
-			return " <iframe src=\"" . DomainUtils::generateURL("admin/phpinfo") . "?no_design=true\" style=\"width: 100%; min-height: 800px; \"></iframe> ";
46
-		}
47
-	}
44
+            //show iframe
45
+            return " <iframe src=\"" . DomainUtils::generateURL("admin/phpinfo") . "?no_design=true\" style=\"width: 100%; min-height: 800px; \"></iframe> ";
46
+        }
47
+    }
48 48
 
49
-	public function setCustomHeader() {
50
-		//allow iframe
51
-		header('X-Frame-Options: SAMEORIGIN');
52
-	}
49
+    public function setCustomHeader() {
50
+        //allow iframe
51
+        header('X-Frame-Options: SAMEORIGIN');
52
+    }
53 53
 
54
-	public function showDesign() {
55
-		return !isset($_REQUEST['no_design']);
56
-	}
54
+    public function showDesign() {
55
+        return !isset($_REQUEST['no_design']);
56
+    }
57 57
 
58
-	public function listRequiredPermissions(): array {
59
-		return array("can_see_phpinfo");
60
-	}
58
+    public function listRequiredPermissions(): array {
59
+        return array("can_see_phpinfo");
60
+    }
61 61
 
62 62
 }
63 63
 
Please login to merge, or discard this patch.