Completed
Push — master ( d28cae...d59c38 )
by Marc
03:12
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/web/Controller.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,17 +31,17 @@
 block discarded – undo
31 31
         parent::init();
32 32
         
33 33
         if ($this->module instanceof Module) {
34
-	        // get asset bundles which are defined in the module and register them into the view
35
-	        foreach ($this->module->assets as $class) {
36
-	            if (!in_array($class, $this->skipModuleAssets) && !in_array('*', $this->skipModuleAssets)) {
37
-	                // autoload $class and register with current view
38
-	                $this->registerAsset($class);
39
-	            }
40
-	        }
41
-	        // get controller based assets
42
-	        foreach ($this->assets as $class) {
43
-	            $this->registerAsset($class);
44
-	        }
34
+            // get asset bundles which are defined in the module and register them into the view
35
+            foreach ($this->module->assets as $class) {
36
+                if (!in_array($class, $this->skipModuleAssets) && !in_array('*', $this->skipModuleAssets)) {
37
+                    // autoload $class and register with current view
38
+                    $this->registerAsset($class);
39
+                }
40
+            }
41
+            // get controller based assets
42
+            foreach ($this->assets as $class) {
43
+                $this->registerAsset($class);
44
+            }
45 45
         }
46 46
     }
47 47
 
Please login to merge, or discard this patch.