diff --git a/composer.json b/composer.json index e053909..afada49 100644 --- a/composer.json +++ b/composer.json @@ -24,9 +24,9 @@ "symfony/polyfill-php82": "^1.26", "symfony/polyfill-php83": "^1.32", "symfony/polyfill-php84": "^1.32", - "symfony/runtime": "^5.0|^6.0", - "symfony/service-contracts": "^1|^2.5", - "symfony/yaml": "^4.4|^5.3|^6.0" + "symfony/runtime": "^5.0|^6.0|^7.0|^8.0", + "symfony/service-contracts": "^1|^2.5|^3.0", + "symfony/yaml": "^4.4|^5.3|^6.0|^7.0|^8.0" }, "autoload": { "psr-4": { diff --git a/src/Console/Command/Release/AbstractReleaseCommand.php b/src/Console/Command/Release/AbstractReleaseCommand.php index 59c693d..7447296 100644 --- a/src/Console/Command/Release/AbstractReleaseCommand.php +++ b/src/Console/Command/Release/AbstractReleaseCommand.php @@ -29,7 +29,7 @@ abstract class AbstractReleaseCommand extends BaseCommand protected array $sources = []; #[\Override] - protected function interact(InputInterface $input, OutputInterface $output) + protected function interact(InputInterface $input, OutputInterface $output): void { if (!$input->getOption('token')) { $token = getenv('GITHUB_TOKEN'); diff --git a/src/Console/Command/Release/ReleaseCommand.php b/src/Console/Command/Release/ReleaseCommand.php index 4b427ef..a865fba 100644 --- a/src/Console/Command/Release/ReleaseCommand.php +++ b/src/Console/Command/Release/ReleaseCommand.php @@ -41,7 +41,7 @@ protected function configure(): void ; } #[\Override] - protected function interact(InputInterface $input, OutputInterface $output) + protected function interact(InputInterface $input, OutputInterface $output): void { if (!$input->getOption('token')) { $token = getenv('GITHUB_TOKEN');