mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Pass color and verbosity args to printer (fix #49)
This commit is contained in:
@ -21,7 +21,7 @@ final class AddsDefaults
|
||||
public static function to(array $arguments): array
|
||||
{
|
||||
if (!array_key_exists('printer', $arguments)) {
|
||||
$arguments['printer'] = new Printer();
|
||||
$arguments['printer'] = new Printer(null, $arguments['verbose'] ?? false, $arguments['colors'] ?? 'always');
|
||||
}
|
||||
|
||||
return $arguments;
|
||||
|
||||
Reference in New Issue
Block a user