classVerdict
final class Verdict
Renders the errors of a report and its closing success or failure message.
Methods§
public function render(SymfonyStyle $io, array<string, mixed> $report, Options $options): voidRenders the errors and the closing message.
Parameters
$io | SymfonyStyle | The console style |
$report | array<string, mixed> | The report of the command |
$options | Options | The command and its options |
Throws
InvalidInputException When the errors are not a list of stringsTest cases 4
Called from 1
Calls 6
- static-call Fields::strings() line 27
- method-call
SymfonyStyle::error()line 29 - function-call
array_mapline 29 - static-call Text::plain() line 29
- method-call Options::flag() line 36
- method-call
SymfonyStyle::success()line 41
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 4
Other tests reaching this symbol 3
ApplicationTestcallsCommandHandlerTestcallsReporterTestcalls