Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 26, 2024
1 parent bc74b8b commit 49adb06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Rule/Nette/RegularExpressionPatternRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public function testValidRegexPatternAfter73(): void
if (PHP_VERSION_ID >= 80200) {
$messagePart = 'alphanumeric, backslash, or NUL';
}
if (PHP_VERSION_ID >= 80400) {
$messagePart = 'alphanumeric, backslash, or NUL byte';
}

$this->analyse(
[__DIR__ . '/data/valid-regex-pattern.php'],
Expand Down

0 comments on commit 49adb06

Please sign in to comment.