Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/PHPStan/Rules/Regexp/RegularExpressionPatternRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,27 @@ public function testValidRegexPatternBefore73(): void
43,
],
[
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: nok',
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok',
57,
],
[
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: nok',
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: nok',
58,
],
[
'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~',
'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~',
59,
],
[
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: noknono',
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknono',
61,
],
[
'Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: noknope',
'Regex pattern is invalid: Delimiter must not be alphanumeric or backslash in pattern: noknope',
62,
],
[
'Regex pattern is invalid: Compilation failed: missing closing parenthesis at offset 1 in pattern: ~(~',
'Regex pattern is invalid: Compilation failed: missing ) at offset 1 in pattern: ~(~',
63,
],
],
Expand Down