From 18d46a7de36011614ff63b59a40c2b591baaba5b Mon Sep 17 00:00:00 2001 From: Tom Arbesser-Rastburg Date: Mon, 4 Aug 2025 21:23:57 +0200 Subject: [PATCH] Fix constant E_STRICT deprecation warning when running tests E_STRICT was deprecated in PHP 8.4. It's used in tests/bootstrap.php, causing a deprecation warning to be emitted when running tests. --- tests/bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 82d1a50..f726ee2 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,8 +3,8 @@ * Whoops - php errors for cool kids * @author Filipe Dobreira * - * Bootstraper for PHPUnit tests. + * Bootstrapper for PHPUnit tests. */ -error_reporting(E_ALL | E_STRICT); +error_reporting(E_ALL); require_once __DIR__ . '/../vendor/autoload.php';