Passed
Branch master (ab19ac)
by Kirill
05:59
created
src/Exception/UnexpectedTokenException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/UnrecognizedTokenException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/BadLexemeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/LexerException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/UnsupportedLexerRuntimeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/GrammarException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Exception/ParserException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Exception;
11 11
 
Please login to merge, or discard this patch.
src/Parser/Runtime.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Parser;
11 11
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
         $ast = $this->buildTree();
121 121
 
122
-        if (! ($ast instanceof NodeInterface)) {
122
+        if (!($ast instanceof NodeInterface)) {
123 123
             throw new ParserException('Parsing error: cannot build AST, the trace is corrupted.', 1);
124 124
         }
125 125
 
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
                     continue;
411 411
                 }
412 412
 
413
-                $rule       = new AstRule((string)($id ?: $cId), \array_reverse($handle), $offset);
413
+                $rule       = new AstRule((string) ($id ?: $cId), \array_reverse($handle), $offset);
414 414
                 $children[] = $rule;
415 415
             } elseif ($trace instanceof Escape) {
416 416
                 return $i + 1;
Please login to merge, or discard this patch.
src/Parser/Trace/Escape.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Compiler\Parser\Trace;
11 11
 
Please login to merge, or discard this patch.