Skip to content

Commit 903a334

Browse files
committed
Disable PreviousConnectingVisitor
1 parent 2d12762 commit 903a334

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Ast/PreviousConnectingVisitor.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public function beforeTraverse(array $nodes)
4141

4242
public function enterNode(Node $node)
4343
{
44+
45+
return null;
4446
if ([] !== $this->stack) {
4547
$node->setAttribute(self::ATTRIBUTE_PARENT, $this->stack[\count($this->stack) - 1]);
4648
}
@@ -56,6 +58,9 @@ public function enterNode(Node $node)
5658

5759
public function leaveNode(Node $node)
5860
{
61+
62+
return null;
63+
5964
$this->previous = $node;
6065

6166
array_pop($this->stack);

0 commit comments

Comments
 (0)