From 55a93ee7d125cdca7299b1308e17f9dea96251c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Parafi=C5=84ski?= Date: Thu, 27 Jun 2024 12:32:00 +0200 Subject: [PATCH] IBX-8224: Dropped BackwardCompatibleCommand (#17) --- src/bundle/Command/CronRunCommand.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/bundle/Command/CronRunCommand.php b/src/bundle/Command/CronRunCommand.php index 8b624bd..71f2c8b 100644 --- a/src/bundle/Command/CronRunCommand.php +++ b/src/bundle/Command/CronRunCommand.php @@ -12,7 +12,6 @@ use Cron\Executor\Executor; use Cron\Report\CronReport; use Cron\Resolver\ArrayResolver; -use Ibexa\Bundle\Core\Command\BackwardCompatibleCommand; use Ibexa\Bundle\Cron\Registry\CronJobsRegistry; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; @@ -20,7 +19,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; -final class CronRunCommand extends Command implements BackwardCompatibleCommand +final class CronRunCommand extends Command { /** @var \Ibexa\Bundle\Cron\Registry\CronJobsRegistry */ private $cronJobsRegistry; @@ -100,12 +99,4 @@ private function logReportsOutput(CronReport $reports): void } } } - - /** - * @return string[] - */ - public function getDeprecatedAliases(): array - { - return ['ezplatform:cron:run']; - } }