Passed
Push — dev ( c144d3...99c93a )
by Observer
01:22
created
engine/VoidEngine.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 const ENGINE_VERSION = '4.0.0rc1';
35 35
 const ENGINE_DIR = __DIR__;
36 36
 
37
-chdir (ENGINE_DIR);
37
+chdir(ENGINE_DIR);
38 38
 
39 39
 require 'common/Events.php';
40 40
 require 'common/EngineInterfaces.php';
@@ -43,15 +43,15 @@  discard block
 block discarded – undo
43 43
 require 'common/Components.php';
44 44
 require 'common/Others.php';
45 45
 
46
-define ('VoidEngine\CORE_VERSION', $APPLICATION->productVersion);
46
+define('VoidEngine\CORE_VERSION', $APPLICATION->productVersion);
47 47
 
48 48
 require 'components/Component.php';
49 49
 require 'components/Control.php';
50 50
 
51
-foreach (glob ('components/*/*.php') as $name)
51
+foreach (glob('components/*/*.php') as $name)
52 52
     require $name;
53 53
 
54
-if (file_exists ('extensions'))
55
-    foreach (scandir ('extensions') as $ext)
56
-        if (file_exists ($ext = 'extensions/'. $ext .'/main.php'))
54
+if (file_exists('extensions'))
55
+    foreach (scandir('extensions') as $ext)
56
+        if (file_exists($ext = 'extensions/'.$ext.'/main.php'))
57 57
             require $ext;
Please login to merge, or discard this patch.