This commit is contained in:
Luke Downing
2023-02-10 15:49:30 +00:00
committed by Nuno Maduro
parent 7fe7a01d43
commit 504fd04705
2 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,8 @@ final class Parallel implements HandlesArguments
return Command::FAILURE;
}
$_ENV['PEST_PARALLEL_ARGV'] = json_encode($_SERVER['argv']);
$handlers = array_filter(
array_map(fn ($handler) => Container::getInstance()->get($handler), self::HANDLERS),
fn ($handler) => $handler instanceof HandlesArguments,