Test Failed
Push — master ( d0ad7f...9ed642 )
by Kirill
02:41
created
src/Driver/NativeStateful.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     /**
62 62
      * @param string $pattern
63 63
      * @param string $content
64
-     * @return \Traversable|TokenInterface[]
64
+     * @return \Generator
65 65
      * @throws \InvalidArgumentException
66 66
      * @throws \RuntimeException
67 67
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     public function lex(Readable $input): \Traversable
53 53
     {
54 54
         foreach ($this->exec($this->pattern, $input->getContents()) as $token) {
55
-            if (! \in_array($token->name(), $this->skipped, true)) {
55
+            if (!\in_array($token->name(), $this->skipped, true)) {
56 56
                 yield $token;
57 57
             }
58 58
         }
Please login to merge, or discard this patch.
src/Driver/NativeStateless.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function lex(Readable $input): \Traversable
42 42
     {
43 43
         foreach (parent::exec($this->pcre->compile(), $input->getContents()) as $token) {
44
-            if (! \in_array($token->name(), $this->skipped, true)) {
44
+            if (!\in_array($token->name(), $this->skipped, true)) {
45 45
                 yield $token;
46 46
             }
47 47
         }
Please login to merge, or discard this patch.