Remove dead code from ConsoleApplication class

This commit is contained in:
Joseph Bielawski 2023-09-29 18:08:29 +02:00 committed by Jerry Ma
parent ff128df76b
commit 3b83c1fa7b

View File

@ -29,11 +29,6 @@ final class ConsoleApplication extends Application
{
parent::__construct('static-php-cli', self::VERSION);
global $argv;
// Detailed debugging errors are not displayed in the production environment. Only the error display provided by Symfony console is used.
$this->setCatchExceptions(file_exists(ROOT_DIR . '/.prod') || !in_array('--debug', $argv));
$this->addCommands(
[
new BuildCliCommand(),