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

Order of docblocks and attributes might need to mentioned in the docs? #10943

Closed
netbrothers-tr opened this issue Apr 27, 2024 · 2 comments
Closed

Comments

@netbrothers-tr
Copy link

Since #9233 has been closed due to inactivity, I felt free to open this. From what I understood, it is very likely, that the order of docblocks and attributes will matter for the foreseeable future, such that

https://phpstan.org/r/da353f27-4100-4d31-8cec-6c89e0f544b6 .

I didn't find that mentioned anywhere in the docs. Did I miss it? Otherwise, I think it would be worth noting, since syntactically both variants are correct as of today.

@ondrejmirtes
Copy link
Member

There's an open bug about this both in PHP-Parser repo nikic/PHP-Parser#762 and here #4633

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 May 29, 2024
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