src/Runners/PHPUnit/SqliteRunner.php
protected function startWorkers(): void
    {
        $wrapper = realpath(__DIR__ . '/../../../bin/phpunit-sqlite-wrapper');

        for ($i = 1; $i <= $this->options->processes; ++$i) {
            $worker = new SqliteWorker($this->dbFileName);
            if ($this->options->noTestTokens) {
                $token = null;
                $uniqueToken = null;
            } else {
                $token = $i;
                $uniqueToken = uniqid();
            }
            $worker->start($wrapper, $token, $uniqueToken);
            $this->workers[] = $worker;
        }
    }
protected function startWorkers(): void
    {
        $wrapper = realpath(__DIR__ . '/../../../bin/phpunit-sqlite-wrapper');

        for ($i = 1; $i <= $this->options->processes; ++$i) {
            $worker = new SqliteWorker($this->dbFileName);
            if ($this->options->noTestTokens) {
                $token = null;
                $uniqueToken = null;
            } else {
                $token = $i;
                $uniqueToken = uniqid();
            }
            $worker->start($wrapper, $token, $uniqueToken);
            $this->workers[] = $worker;
        }
    }
protected function startWorkers ( ) : void { $ wrapper = realpath ( __DIR__ . '/../../../bin/phpunit-sqlite-wrapper' ) ; for ( $ i = 1 ; $ i <= $ this -> options -> processes ; ++ $ i ) { $ worker = new SqliteWorker ( $ this -> dbFileName ) ; if ( $ this -> options -> noTestTokens ) { $ token = null ; $ uniqueToken = null ; } else { $ token = $ i ; $ uniqueToken = uniqid ( ) ; } $ worker -> start ( $ wrapper , $ token , $ uniqueToken ) ; $ this -> workers [ ] = $ worker ; } }
Start all workers.
Start all workers .