Skip to content

RegexArrayShapeMatcher - enforce list-type when no named captures - #3899

Merged
ondrejmirtes merged 4 commits into
phpstan:2.1.xfrom
staabm:build
Mar 24, 2025
Merged

ondrejmirtes merged 4 commits into
phpstan:2.1.xfrom
staabm:build

Conversation

@staabm

@staabm staabm commented Mar 23, 2025 •

Copy link
Copy Markdown
Contributor

@staabm
staabm marked this pull request as ready for review March 24, 2025 13:39
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes

Copy link
Copy Markdown
Member

Does this also fix phpstan/phpstan#11602?

@staabm

staabm commented Mar 24, 2025

Copy link
Copy Markdown
Contributor Author

I didn't expected it, but it seems it does :)

@ondrejmirtes
ondrejmirtes merged commit 0401189 into phpstan:2.1.x Mar 24, 2025
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you!

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.

Misinterpreting Whether Regular Expression Piece Exists preg_match param-out is a list, and phpstan kind of agrees, but not enough

3 participants