Skip to content

Use TypeUtils::getOldConstantArrays in RegularExpressionPatternRule#1679

Merged
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:regular-expression-pattern-rule-get-old-constant-arrays
Sep 1, 2022
Merged

Use TypeUtils::getOldConstantArrays in RegularExpressionPatternRule#1679
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:regular-expression-pattern-rule-get-old-constant-arrays

Conversation

@herndlm
Copy link
Copy Markdown
Contributor

@herndlm herndlm commented Sep 1, 2022

This is only getting all patterns here from the array and it should not matter if a key is optional or not, the pattern needs to be checked anyways

@herndlm herndlm marked this pull request as ready for review September 1, 2022 10:00
@ondrejmirtes ondrejmirtes merged commit 7cb0d37 into phpstan:1.8.x Sep 1, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@herndlm herndlm deleted the regular-expression-pattern-rule-get-old-constant-arrays branch September 1, 2022 11:22
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.

2 participants