Passed
Push — master ( 2ef79b...70e25c )
by Martijn
03:03
created
src/Parser/Terminal/Regex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
     public function __toString()
52 52
     {
53
-        return (string)$this->pattern;
53
+        return (string) $this->pattern;
54 54
     }
55 55
 
56 56
 }
Please login to merge, or discard this patch.
src/Parser/Terminal/Set.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         }
39 39
 
40 40
         $this->set     = count_chars($set, 3);
41
-        $this->include = (bool)$include;
41
+        $this->include = (bool) $include;
42 42
     }
43 43
 
44 44
     protected function parse(&$input, $offset, Context $context)
Please login to merge, or discard this patch.
src/Parser/Stub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     {
59 59
         /** @noinspection HtmlUnknownTag */
60 60
         return $this->parser
61
-            ? (string)$this->parser
61
+            ? (string) $this->parser
62 62
             : '<undefined>';
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Parser/Terminal/Range.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->last  = $last === null
32 32
             ? null
33 33
             : self::parseCharacter($last);
34
-        $this->in    = (bool)$in;
34
+        $this->in    = (bool) $in;
35 35
     }
36 36
 
37 37
     protected function parse(&$input, $offset, Context $context)
Please login to merge, or discard this patch.
src/Core/Context/CaseSensitiveContextTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
     public function pushCaseSensitivity($caseSensitive = true)
10 10
     {
11
-        array_push($this->caseSensitivity, (bool)$caseSensitive);
11
+        array_push($this->caseSensitivity, (bool) $caseSensitive);
12 12
     }
13 13
 
14 14
     public function popCaseSensitivity()
Please login to merge, or discard this patch.
src/Parser/Structure/Repeat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             if ($skip !== false) {
70 70
                 $match = $this->parser->parse($input, $offset + $length + $skip, $context);
71 71
                 if ($match instanceof Success) {
72
-                    $length          += $skip + $match->length;
72
+                    $length += $skip + $match->length;
73 73
                     $childMatches[] = $match;
74 74
                 }
75 75
             }
Please login to merge, or discard this patch.