Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jul 26, 2024

similar to how we added support for preg_quote'd patterns in ArrayShapeMatcher, we now re-use the logic in RegularExpressionPatternRule

Review at best commit by commit
commit 1: refactoring of ArrayShapeMatcher for re-use
commit 2: adjust RegularExpressionPatternRule to make use of the refactoring

@staabm staabm changed the title RegularExpressionPatternRule: valide preg_quote'd patterns RegularExpressionPatternRule: validate preg_quote'd patterns Jul 26, 2024
@staabm staabm marked this pull request as ready for review July 26, 2024 13:33
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 465af9e into phpstan:1.11.x Jul 27, 2024
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the reg branch July 27, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants