Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc27f90e

Browse files
aleksandr-shevchenkoxabbuh
authored andcommitted
Update Application.php
#47862 (comment)
1 parentab793bb commitc27f90e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/Symfony/Component/Console/Application.php‎

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

256256
$style =newSymfonyStyle($input,$output);
257-
$style->block(sprintf('Command "%s" is not defined.',$name),null,'error','',true);
257+
$output->writeln('');
258+
$formattedBlock = (newFormatterHelper())->formatBlock(sprintf('Command "%s" is not defined.',$name),'error',true);
259+
$output->writeln($formattedBlock);
258260
if (!$style->confirm(sprintf('Do you want to run "%s" instead?',$alternative),false)) {
259261
if (null !==$this->dispatcher) {
260262
$event =newConsoleErrorEvent($input,$output,$e);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp