Skip to content

Commit dc63542

Browse files
committed
fix(options): forward colors option to PHPUnit, even when it matches the default option value.
1 parent cb3d1f7 commit dc63542

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Options.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ public static function fromConsoleInput(InputInterface $input, string $cwd): sel
192192
unset($options['functional']);
193193

194194
assert(array_key_exists('colors', $options));
195-
if ($options['colors'] === Configuration::COLOR_DEFAULT) {
196-
unset($options['colors']);
197-
} elseif ($options['colors'] === null) {
195+
if ($options['colors'] === null) {
198196
$options['colors'] = Configuration::COLOR_AUTO;
199197
}
200198

0 commit comments

Comments
 (0)