Completed
Pull Request — master (#904)
by Martin
03:02
created
luyacheck.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 $tests = [
3
-	"in_array('mod_rewrite', apache_get_modules());",
4
-	"ini_get('short_open_tag');",
5
-	"ini_get('error_reporting');",
6
-	"phpversion()",
7
-	"php_ini_loaded_file()",
3
+    "in_array('mod_rewrite', apache_get_modules());",
4
+    "ini_get('short_open_tag');",
5
+    "ini_get('error_reporting');",
6
+    "phpversion()",
7
+    "php_ini_loaded_file()",
8 8
 ];
9 9
 foreach ($tests as $i => $test) {
10 10
     $result = eval('return ' . $test . ';');
Please login to merge, or discard this patch.
core/helpers/FileHelper.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -102,10 +102,10 @@
 block discarded – undo
102 102
      */
103 103
     public static function getFileContent($fileName)
104 104
     {
105
-    	try {
106
-    		return file_get_contents(Yii::getAlias($fileName));
107
-    	} catch (Exception $error) {
108
-    		return false;
109
-    	}
105
+        try {
106
+            return file_get_contents(Yii::getAlias($fileName));
107
+        } catch (Exception $error) {
108
+            return false;
109
+        }
110 110
     }
111 111
 }
Please login to merge, or discard this patch.