Passed
Branch master (ab19ac)
by Kirill
05:59
created
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/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.
src/Parser/Trace/Entry.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.
src/Parser/Trace/Terminator.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.
src/Parser/Debug/NodeDumper.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\Debug;
11 11
 
@@ -78,14 +78,14 @@  discard block
 block discarded – undo
78 78
             $token = $root->createElement(\class_basename($ast), $ast->getValue());
79 79
 
80 80
             $token->setAttribute('name', $ast->getName());
81
-            $token->setAttribute('offset', (string)$ast->getOffset());
81
+            $token->setAttribute('offset', (string) $ast->getOffset());
82 82
 
83 83
             return $token;
84 84
         }
85 85
 
86 86
         $node = $root->createElement(\class_basename($ast));
87 87
         $node->setAttribute('name', \ltrim($ast->getName(), '#'));
88
-        $node->setAttribute('offset', (string)$ast->getOffset());
88
+        $node->setAttribute('offset', (string) $ast->getOffset());
89 89
 
90 90
         /** @var NodeInterface $child */
91 91
         foreach ($ast->getChildren() as $child) {
Please login to merge, or discard this patch.
src/Parser/Debug/BaseDumper.php 1 patch
Spacing   +2 added lines, -2 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\Debug;
11 11
 
@@ -57,6 +57,6 @@  discard block
 block discarded – undo
57 57
             $this->initialIndention + $this->indention
58 58
         ));
59 59
 
60
-        return $prefix . $line . \PHP_EOL;
60
+        return $prefix.$line.\PHP_EOL;
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
src/Parser/Debug/Dumper.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\Debug;
11 11
 
Please login to merge, or discard this patch.