diff --git a/Classes/Command/ImportDestinationDataViaAllConfigruationsCommand.php b/Classes/Command/ImportDestinationDataViaAllConfigruationsCommand.php index c7f3e6a..5fa8e0b 100644 --- a/Classes/Command/ImportDestinationDataViaAllConfigruationsCommand.php +++ b/Classes/Command/ImportDestinationDataViaAllConfigruationsCommand.php @@ -26,7 +26,7 @@ class ImportDestinationDataViaAllConfigruationsCommand extends Command $this->setHelp('Destination Data Events are imported from all configuration records.'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { Bootstrap::initializeBackendAuthentication(); diff --git a/Classes/Command/ImportDestinationDataViaConfigruationCommand.php b/Classes/Command/ImportDestinationDataViaConfigruationCommand.php index 412f6fd..a81cf63 100644 --- a/Classes/Command/ImportDestinationDataViaConfigruationCommand.php +++ b/Classes/Command/ImportDestinationDataViaConfigruationCommand.php @@ -34,7 +34,7 @@ class ImportDestinationDataViaConfigruationCommand extends Command ); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { Bootstrap::initializeBackendAuthentication(); diff --git a/Classes/Command/RemoveAllCommand.php b/Classes/Command/RemoveAllCommand.php index f1e69ab..7c1e65e 100644 --- a/Classes/Command/RemoveAllCommand.php +++ b/Classes/Command/RemoveAllCommand.php @@ -24,7 +24,7 @@ class RemoveAllCommand extends Command $this->setHelp('All events and associated data will be removed.'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { Bootstrap::initializeBackendAuthentication(); $this->cleanupService->deleteAllData(); diff --git a/Classes/Command/RemovePastCommand.php b/Classes/Command/RemovePastCommand.php index 76377e3..0481ec9 100644 --- a/Classes/Command/RemovePastCommand.php +++ b/Classes/Command/RemovePastCommand.php @@ -24,7 +24,7 @@ class RemovePastCommand extends Command $this->setHelp('Past dates are removed, together with events that do not have any left dates.'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { Bootstrap::initializeBackendAuthentication(); diff --git a/composer.json b/composer.json index ab018da..16c9ec2 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,8 @@ ], "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "symfony/console": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", "typo3/cms-core": "^12.4", "typo3/cms-extbase": "^12.4", "typo3/cms-filelist": "^12.4",