From 2a28b958d8df12f0b04fdf4246bf72c1e68a9b58 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Wed, 27 Nov 2024 22:33:26 +0100 Subject: [PATCH] Do not throw on E_DEPRECATED --- bin/dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/dep b/bin/dep index 2bfa43b83..f8c6acdd1 100755 --- a/bin/dep +++ b/bin/dep @@ -81,6 +81,9 @@ set_error_handler(function ($severity, $message, $filename, $lineno) { if (error_reporting() == 0) { return; } + if ($severity == E_DEPRECATED) { + return; + } if (error_reporting() & $severity) { throw new ErrorException($message, 0, $severity, $filename, $lineno); }