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

RegexArrayShapeMatcher - improve type inference in alternations #3375

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Aug 30, 2024

builds a more precise type for a capturing group, in case the capturing group only contains a alternation at the top level

@staabm staabm marked this pull request as ready for review August 30, 2024 21:46
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 1968aa9 into phpstan:1.12.x Aug 31, 2024
489 of 500 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the const-better branch August 31, 2024 12:44
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.

None yet

3 participants