Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zend_language_parser: Backup / restore doc comment when parsing attributes #20896

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

Merged
TimWolla merged 3 commits into php:PHP-8.5 from TimWolla:gh20895
Jan 13, 2026

Conversation

@TimWolla
Copy link
Member

@TimWolla TimWolla commented Jan 10, 2026

Attributes may themselves contain elements which can have a doc comment on their own (namely Closures). A doc comment before the attribute list is generally understood as belonging to the symbol having the attributes.

Fixes #20895.

mvorisek reacted with thumbs up emoji
...butes
Attributes may themselves contain elements which can have a doc comment on
their own (namely Closures). A doc comment before the attribute list is
generally understood as belonging to the symbol having the attributes.
Fixes php#20895.
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TimWolla TimWolla merged commit 11ae6ad into php:PHP-8.5 Jan 13, 2026
10 checks passed
TimWolla added a commit that referenced this pull request Jan 13, 2026
* PHP-8.5:
 zend_language_parser: Backup / restore doc comment when parsing attributes (#20896)
@TimWolla TimWolla deleted the gh20895 branch January 13, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@iluuu1994 iluuu1994 iluuu1994 approved these changes

@DanielEScherzer DanielEScherzer Awaiting requested review from DanielEScherzer DanielEScherzer is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /