Skip to content

Commit

Permalink
IBX-8224: Dropped BackwardCompatibleCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Jun 19, 2024
1 parent 078de43 commit e0b960d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/bundle/Command/MigrateLegacyMatrixCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

use Doctrine\DBAL\Connection;
use Exception;
use Ibexa\Bundle\Core\Command\BackwardCompatibleCommand;
use Ibexa\Contracts\Core\Persistence\Content\FieldValue;
use Ibexa\Contracts\Core\Persistence\Content\Type\FieldDefinition;
use Ibexa\Core\Persistence\Legacy\Content\StorageFieldDefinition;
Expand All @@ -24,12 +23,10 @@
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

class MigrateLegacyMatrixCommand extends Command implements BackwardCompatibleCommand
class MigrateLegacyMatrixCommand extends Command
{
private const DEFAULT_ITERATION_COUNT = 1000;

private const EZMATRIX_IDENTIFIER = 'ezmatrix';

private const CONFIRMATION_ANSWER = 'yes';

/** @var \Doctrine\DBAL\Connection */
Expand All @@ -53,7 +50,6 @@ protected function configure()
{
$this
->setName('ibexa:migrate:legacy_matrix')
->setAliases($this->getDeprecatedAliases())
->addOption(
'iteration-count',
'c',
Expand Down Expand Up @@ -346,12 +342,4 @@ protected function getProgressBar(int $maxSteps, OutputInterface $output): Progr

return $progressBar;
}

/**
* @return string[]
*/
public function getDeprecatedAliases(): array
{
return ['ezplatform:migrate:legacy_matrix'];
}
}

0 comments on commit e0b960d

Please sign in to comment.