Skip to content

Commit ea59bb0

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Update Application.php Update validators.af.xlf
2 parents ae0727b + 8e70c1c commit ea59bb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Application.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ public function doRun(InputInterface $input, OutputInterface $output)
276276
$alternative = $alternatives[0];
277277

278278
$style = new SymfonyStyle($input, $output);
279-
$style->block(sprintf('Command "%s" is not defined.', $name), null, 'error', ' ', true);
279+
$output->writeln('');
280+
$formattedBlock = (new FormatterHelper())->formatBlock(sprintf('Command "%s" is not defined.', $name), 'error', true);
281+
$output->writeln($formattedBlock);
280282
if (!$style->confirm(sprintf('Do you want to run "%s" instead? ', $alternative), false)) {
281283
if (null !== $this->dispatcher) {
282284
$event = new ConsoleErrorEvent($input, $output, $e);

0 commit comments

Comments
 (0)