Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Oct 26, 2025

working my way thru things showing up in profiles of phpstan/build-infection#11 (comment)

@staabm staabm marked this pull request as ready for review October 26, 2025 11:09
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@staabm
Copy link
Contributor Author

staabm commented Oct 26, 2025

Maybe we are just missing a unit test for this line 🧐

@ondrejmirtes
Copy link
Member

This is just the correct usage of the parser, it's present in both PhpDocStringResolver and TypeStringResolver.

I'm not really sure if we can write a failing test. But also I don't think this is a performance bottleneck.

@ondrejmirtes
Copy link
Member

Wasn't hard after all: d393a1d

@staabm
Copy link
Contributor Author

staabm commented Oct 26, 2025

Thx

@staabm staabm closed this Oct 26, 2025
@staabm staabm deleted the rm2 branch October 26, 2025 13:19
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.

3 participants