We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed4b58 commit 7cb0d37Copy full SHA for 7cb0d37
src/Rules/Regexp/RegularExpressionPatternRule.php
@@ -83,7 +83,7 @@ private function extractPatterns(FuncCall $functionCall, Scope $scope): array
83
$patternStrings[] = $constantStringType->getValue();
84
}
85
86
- foreach (TypeUtils::getConstantArrays($patternType) as $constantArrayType) {
+ foreach (TypeUtils::getOldConstantArrays($patternType) as $constantArrayType) {
87
if (
88
in_array($functionName, [
89
'preg_replace',
0 commit comments