Completed
Push — master ( db8578...85f9c3 )
by Kirill
10:30
created
src/Iterator/LookaheadIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      */
102 102
     public function next(): void
103 103
     {
104
-        $this->valid  = $this->iterator->valid();
104
+        $this->valid = $this->iterator->valid();
105 105
 
106 106
         if ($this->valid === false) {
107 107
             return;
Please login to merge, or discard this patch.
src/Reader/BasePragmas.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
      */
134 134
     protected function set(string $group, string $name, string $value): void
135 135
     {
136
-        if (! \array_key_exists($group, $this->configs)) {
136
+        if (!\array_key_exists($group, $this->configs)) {
137 137
             $this->configs[$group] = [];
138 138
         }
139 139
 
Please login to merge, or discard this patch.
src/Reader/Config.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
      */
32 32
     public function __construct(string $prefix, array $allowed)
33 33
     {
34
-        $this->prefix  = \trim($prefix, '.') . '.';
34
+        $this->prefix  = \trim($prefix, '.').'.';
35 35
         $this->allowed = $allowed;
36 36
     }
37 37
 
Please login to merge, or discard this patch.
src/Reader/BaseTokens.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
      */
70 70
     public function isKeep(string $token): bool
71 71
     {
72
-        return ! \in_array($token, $this->skipped, true);
72
+        return !\in_array($token, $this->skipped, true);
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
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/Reader/BaseRules.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,26 +38,26 @@
 block discarded – undo
38 38
 
39 39
     public function all(): array
40 40
     {
41
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
41
+        throw new \LogicException(__METHOD__.' not implemented yet');
42 42
     }
43 43
 
44 44
     public function getDelegates(): iterable
45 45
     {
46
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
46
+        throw new \LogicException(__METHOD__.' not implemented yet');
47 47
     }
48 48
 
49 49
     public function getFile(string $rule): Readable
50 50
     {
51
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
51
+        throw new \LogicException(__METHOD__.' not implemented yet');
52 52
     }
53 53
 
54 54
     public function has(string $rule): bool
55 55
     {
56
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
56
+        throw new \LogicException(__METHOD__.' not implemented yet');
57 57
     }
58 58
 
59 59
     public function isKeep(string $rule): bool
60 60
     {
61
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
61
+        throw new \LogicException(__METHOD__.' not implemented yet');
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
src/Grammar/PP2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      */
188 188
     public function add(Readable $grammar): GrammarInterface
189 189
     {
190
-        if (! $this->isLoaded($grammar)) {
190
+        if (!$this->isLoaded($grammar)) {
191 191
             $this->env->share(static::ENV_FILE, $grammar);
192 192
             $this->load($grammar);
193 193
         }
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     {
204 204
         $loaded = \in_array($grammar->getHash(), $this->loaded, true);
205 205
 
206
-        if (! $loaded) {
206
+        if (!$loaded) {
207 207
             $this->loaded[] = $grammar->getHash();
208 208
         }
209 209
 
Please login to merge, or discard this patch.
src/Grammar/PP2/Resolvers/PragmasResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             if ($resolver->match($name)) {
36 36
                 $resolved = $resolver->resolve($name);
37 37
 
38
-                if (! $resolved) {
38
+                if (!$resolved) {
39 39
                     throw $this->badPragma($name, $value)->throwsIn($readable, $rule->getOffset());
40 40
                 }
41 41
 
Please login to merge, or discard this patch.