Completed
Pull Request — master (#104)
by
unknown
04:14
created
src/FileParser/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $data = json_decode(file_get_contents($path), true);
27 27
 
28 28
         if (json_last_error() !== JSON_ERROR_NONE) {
29
-            $error_message  = 'Syntax error';
29
+            $error_message = 'Syntax error';
30 30
             if (function_exists('json_last_error_msg')) {
31 31
                 $error_message = json_last_error_msg();
32 32
             }
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function __construct($path, $prefix = false)
56 56
     {
57
-        $paths      = $this->getValidPath($path);
57
+        $paths = $this->getValidPath($path);
58 58
 
59 59
         foreach ($paths as $path) {
60 60
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             if ($extension === 'dist') {
66 66
                 $extension = array_pop($parts);
67 67
             }
68
-            $parser    = $this->getParser($extension);
68
+            $parser = $this->getParser($extension);
69 69
 
70 70
             // Try and load file
71 71
             $data = (array) $parser->parse($path);
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 
160 160
         // If `$path` is a directory
161 161
         if (is_dir($path)) {
162
-            $paths = glob($path . '/*.*');
162
+            $paths = glob($path.'/*.*');
163 163
             if (empty($paths)) {
164 164
                 throw new EmptyDirectoryException("Configuration directory: [$path] is empty");
165 165
             }
Please login to merge, or discard this patch.