Skip to content

Commit

Permalink
feat: Symfony 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 16, 2023
1 parent 9e78eca commit eaeac48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
"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",
"matthiasnoback/symfony-dependency-injection-test": "^4.1|^5.0",
"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",
Expand Down
4 changes: 2 additions & 2 deletions tests/Schedule/Task/Runner/CommandTaskRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ public static function getDefaultName(): string
return 'my:command';
}

protected function configure()
protected function configure(): void
{
$this
->addOption('fail')
->addOption('exception')
;
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->write('some output...');

Expand Down

0 comments on commit eaeac48

Please sign in to comment.