Add support for Symfony 7.0 (#52)

This commit is contained in:
Daniel Siepmann 2024-02-19 09:20:12 +01:00 committed by GitHub
parent 7db61a189a
commit f7e8e0a1a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 4 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();

View file

@ -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();

View file

@ -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",