mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
Remove dead code from ConsoleApplication class
This commit is contained in:
committed by
Jerry Ma
parent
ff128df76b
commit
3b83c1fa7b
@@ -29,11 +29,6 @@ final class ConsoleApplication extends Application
|
|||||||
{
|
{
|
||||||
parent::__construct('static-php-cli', self::VERSION);
|
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(
|
$this->addCommands(
|
||||||
[
|
[
|
||||||
new BuildCliCommand(),
|
new BuildCliCommand(),
|
||||||
|
|||||||
Reference in New Issue
Block a user