From ae75542048c6d4c7e9e5fe580364c8d5617771ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Fr=C4=85cz?= Date: Wed, 2 Feb 2022 22:32:00 +0100 Subject: [PATCH] Do not use deprecated Debug class for error handling --- web/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app.php b/web/app.php index 58c69dfb8..0b0b6f842 100644 --- a/web/app.php +++ b/web/app.php @@ -6,9 +6,9 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?: 'prod')); -$kernel = new AppKernel(APPLICATION_ENV, APPLICATION_ENV == 'dev'); +$kernel = new AppKernel(APPLICATION_ENV, APPLICATION_ENV === 'dev'); if (APPLICATION_ENV === 'dev') { - Symfony\Component\Debug\Debug::enable(); + Symfony\Component\ErrorHandler\Debug::enable(); umask(0000); }