From e640f32fe158228a31a8afe55afeee4c9d058839 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Thu, 19 Sep 2024 08:00:48 +0200 Subject: [PATCH] Remove usage of deprecated E_STRICT --- 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,