From 49adb0608f11411f5d531dbf6eec90c0778361d0 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Tue, 27 Aug 2024 00:11:30 +0200 Subject: [PATCH] Fix build --- tests/Rule/Nette/RegularExpressionPatternRuleTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Rule/Nette/RegularExpressionPatternRuleTest.php b/tests/Rule/Nette/RegularExpressionPatternRuleTest.php index 82053e2..455481f 100644 --- a/tests/Rule/Nette/RegularExpressionPatternRuleTest.php +++ b/tests/Rule/Nette/RegularExpressionPatternRuleTest.php @@ -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'],