From 606d3a4e4d26901e000d08e62d8ce76d0ef02591 Mon Sep 17 00:00:00 2001 From: Helmut Hummel Date: Mon, 19 Aug 2019 16:00:54 +0200 Subject: [PATCH] [BUGFIX] Avoid showing PHP errors in sub-processes --- Classes/Console/Mvc/Cli/CommandDispatcher.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/Console/Mvc/Cli/CommandDispatcher.php b/Classes/Console/Mvc/Cli/CommandDispatcher.php index e81dca97..5cc46122 100644 --- a/Classes/Console/Mvc/Cli/CommandDispatcher.php +++ b/Classes/Console/Mvc/Cli/CommandDispatcher.php @@ -146,6 +146,8 @@ public static function create($typo3CommandPath, array $commandLine = [], array // Later, very early in booting the error reporting is set to an appropriate value anyway $phpArguments[] = '-d'; $phpArguments[] = 'error_reporting=0'; + $phpArguments[] = '-d'; + $phpArguments[] = 'display_errors=0'; array_unshift($commandLine, ...$phpArguments); array_unshift($commandLine, $php);