From 718bccc8ce2d17272632e04ae957a5faa07cfcc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Tue, 8 Oct 2024 17:27:18 +0200 Subject: [PATCH] Use -1 instead of E_ALL | E_STRICT E_STRICT is deprecated as of PHP 8.4 --- tests/Tests/TestInit.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/Tests/TestInit.php b/tests/Tests/TestInit.php index eb2db606747..f4dc5763311 100644 --- a/tests/Tests/TestInit.php +++ b/tests/Tests/TestInit.php @@ -15,10 +15,7 @@ use function file_exists; use function mkdir; -use const E_ALL; -use const E_STRICT; - -error_reporting(E_ALL | E_STRICT); +error_reporting(-1); date_default_timezone_set('UTC'); if (file_exists(__DIR__ . '/../../vendor/autoload.php')) {