diff --git a/composer.json b/composer.json index 2ecbd138..5f4ec534 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "require": { "php": "^7.2", - "symfony/console": "^4.4", + "symfony/console": "^4.4 || ^5.0", "psr/container": "^1.0" }, "require-dev": { diff --git a/src/Cli/Command/ListCommand.php b/src/Cli/Command/ListCommand.php index 354e8494..9ee4f9ab 100644 --- a/src/Cli/Command/ListCommand.php +++ b/src/Cli/Command/ListCommand.php @@ -46,6 +46,8 @@ protected function execute(InputInterface $input, OutputInterface $output) return [\sprintf('%s', $tool->name()), $tool->summary().PHP_EOL.$tool->website().PHP_EOL]; })->toArray() ); + + return 0; } private function createStyle(InputInterface $input, OutputInterface $output): StyleInterface