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

Constants in traits cannot be parsed #305

Merged
merged 1 commit into from
Dec 6, 2022
Merged

Conversation

mvriel
Copy link
Member

@mvriel mvriel commented Dec 6, 2022

The validation in the construction of constants checked for the Trait factory and not for the Trait AST node. This meant that for traits it can never parse.

This fix is needed to complete phpDocumentor/phpDocumentor#3394

The validation in the construction of constants checked for the Trait
factory and not for the Trait AST node. This meant that for traits it
can never parse.
@mvriel mvriel requested a review from jaapio December 6, 2022 06:18
@jaapio jaapio merged commit 5478413 into 5.x Dec 6, 2022
@jaapio jaapio deleted the fix/parse-constants-in-traits branch December 6, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants