diff --git a/composer.json b/composer.json index d746b79..02ac9b7 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,10 @@ "require": { "php": ">=8.0", "dragonmantank/cron-expression": "^2.3|^3.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/http-kernel": "^5.4|^6.0" + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0" }, "require-dev": { "lorisleiva/cron-translator": "^0.1.0|^0.3.1|^0.4.0", @@ -25,14 +25,14 @@ "phpstan/phpstan": "^1.4", "phpunit/phpunit": "^9.5", "psr/log": "^1.1", - "symfony/framework-bundle": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/mailer": "^5.4|^6.0", - "symfony/messenger": "^5.4|^6.0", - "symfony/notifier": "^5.4|^6.0", - "symfony/phpunit-bridge": "^6.2", - "symfony/process": "^5.4|^6.0" + "symfony/framework-bundle": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/mailer": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/notifier": "^5.4|^6.0|^7.0", + "symfony/phpunit-bridge": "^6.2|^7.0", + "symfony/process": "^5.4|^6.0|^7.0" }, "suggest": { "lorisleiva/cron-translator": "Displays human readable cron expression in schedule:list", diff --git a/tests/Schedule/Task/Runner/CommandTaskRunnerTest.php b/tests/Schedule/Task/Runner/CommandTaskRunnerTest.php index 3ad61fc..1219359 100644 --- a/tests/Schedule/Task/Runner/CommandTaskRunnerTest.php +++ b/tests/Schedule/Task/Runner/CommandTaskRunnerTest.php @@ -115,7 +115,7 @@ public static function getDefaultName(): string return 'my:command'; } - protected function configure() + protected function configure(): void { $this ->addOption('fail') @@ -123,7 +123,7 @@ protected function configure() ; } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $output->write('some output...');