Skip to content

RegexArrayShapeMatcher - Fix optional groups with PREG_UNMATCHED_AS_NULL #3229

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 5 commits into from
Jul 12, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jul 11, 2024

as discussed in composer/pcre#29 (comment) - as usual PREG_UNMATCHED_AS_NULL depends on php-version for optional groups.

//cc @Seldaek

@staabm staabm marked this pull request as ready for review July 11, 2024 16:33
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@Seldaek
Copy link
Contributor

Seldaek commented Jul 11, 2024

Thanks for yet another fix today! :)

@ondrejmirtes
Copy link
Member

Please fix the conflict here.

@staabm
Copy link
Contributor Author

staabm commented Jul 12, 2024

rebased

@ondrejmirtes ondrejmirtes merged commit 6ffd0dd into phpstan:1.11.x Jul 12, 2024
451 of 454 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the bug2 branch August 2, 2024 05:32
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.

4 participants