Passed
Push — master ( dae2b6...a0c960 )
by Martijn
12:49
created
src/Parser/Stub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         /* @noinspection HtmlUnknownTag */
62 62
         return $this->parser
63
-            ? (string)$this->parser
63
+            ? (string) $this->parser
64 64
             : '<undefined>';
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
src/Builder/Implementation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     {
112 112
         if (!empty($this->definition->processors)) {
113 113
             $processors = $this->definition->processors;
114
-            $match->addResultCallback(function (&$results) use ($processors, $localResults) {
114
+            $match->addResultCallback(function(&$results) use ($processors, $localResults) {
115 115
                 foreach ($processors as $key => $processor) {
116 116
                     $results[$key] = $processor($localResults, $results);
117 117
                 }
@@ -163,6 +163,6 @@  discard block
 block discarded – undo
163 163
             // ignore
164 164
         }
165 165
 
166
-        return (string)$this->parser;
166
+        return (string) $this->parser;
167 167
     }
168 168
 }
Please login to merge, or discard this patch.
src/Builder/AbstractRuleset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     protected static function isRuleDefined($rules, $names)
171 171
     {
172
-        foreach ((array)$names as $key) {
172
+        foreach ((array) $names as $key) {
173 173
             if (!isset($rules[$key])) {
174 174
                 return false;
175 175
             }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     protected static function undefineRule(&$rules, $names)
182 182
     {
183
-        foreach ((array)$names as $key) {
183
+        foreach ((array) $names as $key) {
184 184
             unset($rules[$key]);
185 185
         }
186 186
     }
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     public function __toString()
272 272
     {
273 273
         try {
274
-            return (string)$this->getRootParser();
274
+            return (string) $this->getRootParser();
275 275
         } catch (Exception $e) {
276 276
             // ignore
277 277
         }
Please login to merge, or discard this patch.