-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix IntegrationPrinterWithPhpParserTest #255
Conversation
on my windows box for some reason I cannot fix CS here (creates a lot of unrelated changes). |
@@ -71,7 +72,7 @@ public function enterNode(Node $node) | |||
$this->indentCharacter = $char; | |||
$this->indentSize = $size; | |||
|
|||
return NodeTraverser::STOP_TRAVERSAL; | |||
return NodeVisitor::STOP_TRAVERSAL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by deprecation fix
in case we agree on this one, I can have a look at simple-downgrader 2.x |
Awesome, thank you!
Yes please :) |
since PHPParser 5.3 this integration test fails.
it overlapps with a upstream implemenation of indentation-printing which was added with nikic/PHP-Parser@e50c67b
the PR removes the phpdoc-parser custom build indentation printer and re-uses the upstream indentation printer instead.