Skip to content

Commit 3d6bbe5

Browse files
committed
Clarify the exceptions are going to be rendered just after
1 parent 9e61c73 commit 3d6bbe5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ private function renderRegistrationErrors(InputInterface $input, OutputInterface
190190
$output = $output->getErrorOutput();
191191
}
192192

193-
(new SymfonyStyle($input, $output))->warning('Some commands could not be registered.');
193+
(new SymfonyStyle($input, $output))->warning('Some commands could not be registered:');
194194

195195
foreach ($this->registrationErrors as $error) {
196196
$this->doRenderException($error, $output);

Tests/Console/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function testRunOnlyWarnsOnUnregistrableCommand()
160160
$output = $tester->getDisplay();
161161

162162
$this->assertSame(0, $tester->getStatusCode());
163-
$this->assertContains('Some commands could not be registered.', $output);
163+
$this->assertContains('Some commands could not be registered:', $output);
164164
$this->assertContains('throwing', $output);
165165
$this->assertContains('fine', $output);
166166
}

0 commit comments

Comments
 (0)