From 6f994709b9df15165a8f39ecfc15b6569a54c636 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 19 May 2022 08:27:09 +0000 Subject: do not show deprecated warnings by default --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index e95f2efd5..d7c39d1a7 100644 --- a/boot.php +++ b/boot.php @@ -698,7 +698,7 @@ function startup() { error_reporting(E_ALL & ~E_NOTICE); if (version_compare(PHP_VERSION, '8.0.0') >= 0) { - error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE); + error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED); } // Some hosting providers block/disable this -- cgit v1.2.3