We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NodeScopeResolver is not calling rule callback for some nodes like AttributeGroup or its Args
class CustomRule implements Rule { public function getNodeType(): string { return \PhpParser\Node\AttributeGroup::class; } public function processNode(Node $node, Scope $scope): array { return ['Never reported']; } }
Error reported.
The text was updated successfully, but these errors were encountered:
This bug report is missing a link to reproduction at phpstan.org/try.
It will most likely be closed after manual review.
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Successfully merging a pull request may close this issue.
Bug report
NodeScopeResolver is not calling rule callback for some nodes like AttributeGroup or its Args
Code snippet that reproduces the problem
Expected output
Error reported.
The text was updated successfully, but these errors were encountered: