Completed
Push — master ( 8aa9dc...da896c )
by BruceScrutinizer
06:41
created
src/Parser/Node/PhpNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@  discard block
 block discarded – undo
34 34
 
35 35
         $this->resultCollector = $resultCollector;
36 36
 
37
-        $this->listNodeProcessor[UseUse::class] = static function (Node $node) use ($eventDispatcher) {
37
+        $this->listNodeProcessor[UseUse::class] = static function(Node $node) use ($eventDispatcher) {
38 38
             /** @var UseUse $node */
39 39
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString()));
40 40
         };
41 41
 
42
-        $this->listNodeProcessor[FullyQualified::class] = static function (Node $node) use ($eventDispatcher) {
42
+        $this->listNodeProcessor[FullyQualified::class] = static function(Node $node) use ($eventDispatcher) {
43 43
             /** @var FullyQualified $node */
44 44
             return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString()));
45 45
         };
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
             
68 68
             $additionalInformation = '';
69 69
             if ($resultProcessNode->getAdditionalInformation() !== '') {
70
-                $additionalInformation='( '.$resultProcessNode->getAdditionalInformation().' )';
70
+                $additionalInformation = '( ' . $resultProcessNode->getAdditionalInformation() . ' )';
71 71
             }
72 72
 
73
-            $val = new Entry($resultProcessNode->getNodeName().$additionalInformation);
73
+            $val = new Entry($resultProcessNode->getNodeName() . $additionalInformation);
74 74
             $this->pushError($val, $node);
75 75
             return;
76 76
         }
Please login to merge, or discard this patch.
src/Parser/Node/Event/FoundUseNamespace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         return $this->nodeName;
33 33
     }
34 34
 
35
-    public function foundError(string $addtionalInformation=''): void
35
+    public function foundError(string $addtionalInformation = ''): void
36 36
     {
37 37
         $this->additionalInformation = $addtionalInformation;
38 38
         $this->erroDetect = true;
Please login to merge, or discard this patch.
src/Parser/Node/Event/EventProcessNodeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 interface EventProcessNodeInterface extends EventInterface
8 8
 {
9
-    public function foundError(string $additionalInfo=''): void;
9
+    public function foundError(string $additionalInfo = ''): void;
10 10
 
11 11
     public function withError(): bool;
12 12
 
Please login to merge, or discard this patch.
src/Config/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     {
114 114
         $prettyPrintNamespaceToValidate = "\n";
115 115
         foreach ($entries as $namespace) {
116
-            $prettyPrintNamespaceToValidate .= '|       >' . $namespace.\PHP_EOL;
116
+            $prettyPrintNamespaceToValidate .= '|       >' . $namespace . \PHP_EOL;
117 117
         }
118 118
         return $prettyPrintNamespaceToValidate;
119 119
     }
Please login to merge, or discard this patch.