From 2b2fce4fc979b4eb0aca78855bb6dc64009c77ae Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Tue, 7 Mar 2023 11:15:52 +0100 Subject: [PATCH] Hide deprecations and notices per default, modernize debug handler --- bin/phab | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/phab b/bin/phab index ccee4de7..5ae47e31 100755 --- a/bin/phab +++ b/bin/phab @@ -3,19 +3,17 @@ use Phabalicious\AppKernel; use Phabalicious\Command\SelfUpdateCommand; -use Phabalicious\Utilities\Logger; use Phabalicious\Utilities\PluginDiscovery; use Phabalicious\Utilities\Utilities; use Symfony\Component\Console\Input\ArgvInput; -use Symfony\Component\Debug\Debug; use Symfony\Component\Dotenv\Dotenv; use Symfony\Component\Console\Application; use Symfony\Component\Console\Output\ConsoleOutput; -use Symfony\Component\Console\Output\ConsoleOutputInterface; -use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\EventDispatcher\EventDispatcher; +use Symfony\Component\ErrorHandler\Debug; set_time_limit(0); +error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); $autoloaders = [ __DIR__ . '/../../../autoload.php',