Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] ignore const expressions read by phpdocumentor #48251

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
merged 1 commit into from
Nov 22, 2022

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 19, 2022

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

With the upcoming release, phpdocumentator will use the PhpStan docblock parser to extract type information. This change ensure that constant expressions are ignored when extracting types (as we did before when phpdocumentor failed to extract the type) as we do not evaluate them inside the PhpDocExtractor.

With the upcoming release, phpdocumentator will use the PhpStan docblock parser
to extract type information. This change ensure that constant expressions are
ignored when extracting types (as we did before when phpdocumentor failed to
extract the type) as we do not evaluate them inside the PhpDocExtractor.
@fabpot
Copy link
Member

fabpot commented Nov 22, 2022

Thank you @xabbuh.

@fabpot fabpot merged commit dd304b3 into symfony:5.4 Nov 22, 2022
@xabbuh xabbuh deleted the serializer-tests branch November 22, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants