Completed
Push — master ( 4b8ba8...e8c0c9 )
by BruceScrutinizer
01:58
created
src/Parser/Node/PhpNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
         $this->matchKey = new BooleanMatchKey();
60 60
         $this->matchValue = new BooleanMatchValue();
61 61
 
62
-        $this->listNodeProcessor[UseUse::class] = static function (Node $node): string {
62
+        $this->listNodeProcessor[UseUse::class] = static function(Node $node): string {
63 63
 
64 64
             /** @var UseUse $node*/
65 65
             return $node->name->toCodeString();
66 66
         };
67 67
 
68
-        $this->listNodeProcessor[FullyQualified::class] = static function (Node $node): string {
68
+        $this->listNodeProcessor[FullyQualified::class] = static function(Node $node): string {
69 69
 
70 70
             /** @var FullyQualified $node*/
71 71
             return $node->toCodeString();
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
     private function pushError(Entry $val, Node $node): void
162 162
     {
163
-        $err = new ErrorResult($node->getLine(), $val->get(). \PHP_EOL, self::ERR);
163
+        $err = new ErrorResult($node->getLine(), $val->get() . \PHP_EOL, self::ERR);
164 164
         $this->resultCollector->addResult($err);
165 165
     }
166 166
 
Please login to merge, or discard this patch.
src/Result/ErrorResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public function __construct(int $line, string $use, int $type)
18 18
     {
19
-        $this->line =  $line;
19
+        $this->line = $line;
20 20
         $this->use = $use;
21 21
         $this->type = $type;
22 22
     }
Please login to merge, or discard this patch.