From 6f176b3dad00237f4424b2238f11fc9a077ac44b Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Thu, 19 Sep 2024 08:25:35 +0200 Subject: [PATCH] Remove usage of deprecated E_STRICT (#1668) --- tests/utils/tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/tools.php b/tests/utils/tools.php index 07142cc32..76d822a18 100644 --- a/tests/utils/tools.php +++ b/tests/utils/tools.php @@ -602,7 +602,7 @@ function severityToString(int $severity): string { 'E_USER_ERROR' => E_USER_ERROR, 'E_USER_WARNING' => E_USER_WARNING, 'E_USER_NOTICE' => E_USER_NOTICE, - 'E_STRICT' => E_STRICT, + 'E_STRICT' => 2048, // E_STRICT was deprecated in PHP 8.4 'E_RECOVERABLE_ERROR' => E_RECOVERABLE_ERROR, 'E_DEPRECATED' => E_DEPRECATED, 'E_USER_DEPRECATED' => E_USER_DEPRECATED,