Completed
Push — master ( 5c0ad8...d30cdc )
by Filip
08:38 queued 07:33
created
src/Parser/Yaml.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             );
38 38
         }
39 39
 
40
-        return (array)$this->parse($data);
40
+        return (array) $this->parse($data);
41 41
     }
42 42
 
43 43
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             );
60 60
         }
61 61
 
62
-        return (array)$this->parse($data);
62
+        return (array) $this->parse($data);
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.
src/Parser/Php.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         }
41 41
 
42 42
         // Complete parsing
43
-        return (array)$this->parse($data, $filename);
43
+        return (array) $this->parse($data, $filename);
44 44
     }
45 45
 
46 46
     /**
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         // Handle PHP start tag
56 56
         $config = trim($config);
57 57
         if (substr($config, 0, 2) === '<?') {
58
-            $config = '?>' . $config;
58
+            $config = '?>'.$config;
59 59
         }
60 60
 
61 61
         // Eval the string, if it throws an exception, rethrow it
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         }
72 72
 
73 73
         // Complete parsing
74
-        return (array)$this->parse($data);
74
+        return (array) $this->parse($data);
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.
src/Parser/Json.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $data = json_decode(file_get_contents($filename), true);
28 28
 
29
-        return (array)$this->parse($data, $filename);
29
+        return (array) $this->parse($data, $filename);
30 30
     }
31 31
 
32 32
     /**
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     {
40 40
         $data = json_decode($config, true);
41 41
 
42
-        return (array)$this->parse($data);
42
+        return (array) $this->parse($data);
43 43
     }
44 44
 
45 45
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     protected function parse($data = null, $filename = null)
55 55
     {
56 56
         if (json_last_error() !== JSON_ERROR_NONE) {
57
-            $error_message  = 'Syntax error';
57
+            $error_message = 'Syntax error';
58 58
             if (function_exists('json_last_error_msg')) {
59 59
                 $error_message = json_last_error_msg();
60 60
             }
Please login to merge, or discard this patch.
src/Parser/Xml.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         libxml_use_internal_errors(true);
28 28
         $data = simplexml_load_file($filename, null, LIBXML_NOERROR);
29 29
 
30
-        return (array)$this->parse($data, $filename);
30
+        return (array) $this->parse($data, $filename);
31 31
     }
32 32
 
33 33
     /**
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         libxml_use_internal_errors(true);
42 42
         $data = simplexml_load_string($config, null, LIBXML_NOERROR);
43
-        return (array)$this->parse($data);
43
+        return (array) $this->parse($data);
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.