From 57f2f4b8ab3beda3bef6606c340316942eecd7ff Mon Sep 17 00:00:00 2001 From: Marcin Gil Date: Fri, 18 Apr 2025 17:01:03 +0200 Subject: [PATCH] PHP 8.4: E_STRICT constant deprecated https://php.watch/versions/8.4/E_STRICT-deprecated --- tests/bootstrap.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ef3942d7a..7f4d086c5 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -6,7 +6,10 @@ // More info about that: http://bugs.php.net/bugs-generating-backtrace-win32.php //sleep(10); -error_reporting(E_ALL | E_STRICT); +error_reporting(E_ALL); +if (PHP_VERSION_ID < 70400) { + error_reporting(E_ALL | E_STRICT); +} ini_set('max_execution_time', 900); ini_set('date.timezone', 'GMT+0');