mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
Remove dead code from ConsoleApplication class
This commit is contained in:
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(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user