Passed
Push — master ( 5fc55b...15140b )
by Kirill
02:47
created
src/Grammar/Reader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
         $path = $token->value(1);
128 128
 
129 129
         foreach (self::FILE_EXTENSIONS as $extension) {
130
-            $file = \dirname($from->getPathname()) . '/' . $path . $extension;
130
+            $file = \dirname($from->getPathname()).'/'.$path.$extension;
131 131
 
132 132
             if (\is_file($file)) {
133 133
                 return File::fromPathname($file);
Please login to merge, or discard this patch.
src/Parser/Ast/Leaf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         parent::__construct($name, $offset);
31 31
 
32
-        $this->value     = $value;
32
+        $this->value = $value;
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
src/Parser/Debug/NodeDumper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,14 +78,14 @@
 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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,6 +57,6 @@
 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.