mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-24 03:56:10 +01:00
Add support for Symfony 7.0 (#52)
This commit is contained in:
parent
7db61a189a
commit
f7e8e0a1a4
5 changed files with 6 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue