From 5f70ae9c1ed939c31da438038c5a0485d72ceead Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 15 Mar 2025 00:39:35 +0100 Subject: [PATCH] Avoid deprecated polluting --- tests/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ee628029f4..05771f6503 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -11,6 +11,7 @@ if (!file_exists(__DIR__ . '/../vendor/autoload.php')) { die('Vendor path not found. Please execute "bin/composer.phar install" on the command line in the web root.'); } +error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED); require __DIR__ . '/../vendor/autoload.php'; // Backward compatibility