From 744dc01a140432be90c5d4201d892cf67fd981bd Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Fri, 13 Nov 2026 16:03:20 +0100 Subject: [PATCH] Allow Symfony 7 for symfony/console --- composer.json | 2 +- src/Command.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ea43dd8..9343eb2 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": ">=7.4", - "symfony/console" : "4.0|^5.0|^6.0", + "symfony/console" : "4.0|^5.0|^6.0|^7.0", "phpunit/php-timer": "^5.0|^6.0" }, "autoload" : { diff --git a/src/Command.php b/src/Command.php index b87f872..b2511ba 100644 --- a/src/Command.php +++ b/src/Command.php @@ -31,7 +31,7 @@ public static function main() { $application->run(); } - protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) + protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output): int { $configFile = $input->getArgument('config'); if (!$configFile) {