Skip to content

Commit

Permalink
[FrameworkBundle] Fix wrong merge
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark authored and fabpot committed Oct 14, 2024
1 parent cd77610 commit d1ae40e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Command/TranslationUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,6 @@ protected function configure(): void

protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
$errorIo = $output instanceof ConsoleOutputInterface ? new SymfonyStyle($input, $output->getErrorOutput()) : $io;

if ('translation:update' === $input->getFirstArgument()) {
$errorIo->caution('Command "translation:update" is deprecated since version 5.4 and will be removed in Symfony 6.0. Use "translation:extract" instead.');
}

$io = new SymfonyStyle($input, $output);
$errorIo = $io->getErrorStyle();

Expand Down

0 comments on commit d1ae40e

Please sign in to comment.