refactor: parallel

This commit is contained in:
Nuno Maduro
2023-02-13 03:08:36 +00:00
parent 735f131222
commit b6fb81e506
7 changed files with 52 additions and 35 deletions

View File

@ -11,6 +11,9 @@ final class Pest implements HandlersWorkerArguments
{
use HandleArguments;
/**
* Handles the arguments, adding the "PEST_PARALLEL" environment variable to the global $_SERVER.
*/
public function handleWorkerArguments(array $arguments): array
{
$_SERVER['PEST_PARALLEL'] = '1';