8000 [PropertyInfo] ignore const expressions read by phpdocumentor by xabbuh · Pull Request #48251 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

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

0