Passed
Push — master ( f8eb54...68901a )
by Kirill
04:07
created
src/Reader/Runtime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $lexer = new NativeStateless();
72 72
 
73 73
         foreach ($this->tokens->all() as $name => $pcre) {
74
-            $lexer->add($name, $pcre, ! $this->tokens->isKeep($name));
74
+            $lexer->add($name, $pcre, !$this->tokens->isKeep($name));
75 75
         }
76 76
 
77 77
         return $lexer;
Please login to merge, or discard this patch.
src/Grammar/PP2/Mapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             return $this->lastId++;
35 35
         }
36 36
 
37
-        if (! $this->has($rule)) {
37
+        if (!$this->has($rule)) {
38 38
             $this->mappings[$rule] = $this->lastId++;
39 39
         }
40 40
 
Please login to merge, or discard this patch.
src/Grammar/PP2/Analyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      */
150 150
     public function group(LookaheadIterator $iterator, string $rule = null): Group
151 151
     {
152
-        if ($rule && ! \in_array($rule, $this->keep, true)) {
152
+        if ($rule && !\in_array($rule, $this->keep, true)) {
153 153
             $rule = null;
154 154
         }
155 155
 
Please login to merge, or discard this patch.