diff --git a/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php b/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php index 9e1b851825..d2f7cb803d 100644 --- a/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php @@ -27,11 +27,11 @@ public function getErrorList() { $errors = []; - if (PHP_VERSION_ID >= 70200) { + if (PHP_VERSION_ID >= 70200 && PHP_VERSION_ID < 80000) { $errors[3] = 1; } - if (PHP_VERSION_ID >= 70300) { + if (PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 80000) { $errors[4] = 1; }