Skip to content
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

attributes must be below docblock #8860

Closed
arderyp opened this issue Feb 8, 2023 · 2 comments
Closed

attributes must be below docblock #8860

arderyp opened this issue Feb 8, 2023 · 2 comments

Comments

@arderyp
Copy link

arderyp commented Feb 8, 2023

From what I understand, PHP itself allows Attributes to be before or after the docblock. PHPStan only allows them after.
https://phpstan.org/r/40854c36-1f3f-422d-8b04-ea4cf8f880b5

@ondrejmirtes
Copy link
Member

nikic/PHP-Parser#762

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants