Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jul 27, 2024
1 parent c0537db commit 3a33bc7
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 3a33bc7

Please sign in to comment.