Skip to content

Commit d193f57

Browse files
authored
Merge branch refs/heads/1.11.x into 1.12.x
2 parents 676ae9f + 224af32 commit d193f57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: tests/PHPStan/Rules/Regexp/RegularExpressionPatternRuleTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -119,27 +119,27 @@ public function testValidRegexPatternBefore73(): void
119119
43,
120120
],
121121
[
122-
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: nok',
122+
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok',
123123
57,
124124
],
125125
[
126-
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: nok',
126+
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok',
127127
58,
128128
],
129129
[
130-
'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~',
130+
'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~',
131131
59,
132132
],
133133
[
134-
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: noknono',
134+
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknono',
135135
61,
136136
],
137137
[
138-
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: noknope',
138+
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknope',
139139
62,
140140
],
141141
[
142-
'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~',
142+
'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~',
143143
63,
144144
],
145145
],

0 commit comments

Comments
 (0)