bump symfony to 5.4.21

adapt to the new EventDispatcher API
  - Symfony\Component\EventDispatcher => Symfony\Contracts\EventDispatcher
  - dispatch() arguments swap
  - execute() must return int
This commit is contained in:
Joe Nahmias
2023-06-01 23:06:38 -04:00
committed by Frédéric Guillot
parent bb4b547ffe
commit bd7f3d219d
42 changed files with 513 additions and 95 deletions

View File

@@ -19,7 +19,7 @@ class PluginUpgradeCommand extends BaseCommand
;
}
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
if (!Installer::isConfigured()) {
throw new LogicException('Kanboard is not configured to install plugins itself');
@@ -40,6 +40,7 @@ class PluginUpgradeCommand extends BaseCommand
$output->writeln('<info>* Plugin up to date: '.$installedPlugin->getPluginName().'</info>');
}
}
return 0;
}
protected function getPluginDetails(array $availablePlugins, BasePlugin $installedPlugin)