Completed
Push — master ( e7909d...2b102d )
by Kevin
05:18 queued 02:41
created
lib/Util/Configuration/ClassConfigurationReader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
             $isVendor = array_pop($testParts) == 'vendor';
45 45
 
46 46
             if ($isVendor) {
47
-                $path = realpath(__DIR__ . '/../../../../..'); // Get out of the Magium directories
47
+                $path = realpath(__DIR__.'/../../../../..'); // Get out of the Magium directories
48 48
             } else {
49
-                $path = realpath(__DIR__ . '/../../..');
49
+                $path = realpath(__DIR__.'/../../..');
50 50
             }
51 51
 
52 52
             $count = 0;
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
         $classes = array_reverse($classes);
86 86
 
87 87
         foreach ($classes as $class) {
88
-            $configurationFile = $class . '.php';
89
-            $configurationFile = $configurationDir . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile);
88
+            $configurationFile = $class.'.php';
89
+            $configurationFile = $configurationDir.DIRECTORY_SEPARATOR.str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile);
90 90
 
91 91
             if (file_exists($configurationFile)) {
92 92
                 include $configurationFile;
Please login to merge, or discard this patch.
lib/Util/Configuration/EnvironmentConfigurationReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
         foreach ($classes as $class) {
14 14
 
15
-            $variablePrefix = 'MAGIUM_' . str_replace('\\', '_', strtoupper($class)) . '_';
15
+            $variablePrefix = 'MAGIUM_'.str_replace('\\', '_', strtoupper($class)).'_';
16 16
 
17 17
             // Fixes https://github.com/magium/Magium/issues/114
18 18
             $props = array_merge($_SERVER, $_ENV);
Please login to merge, or discard this patch.