src/Runners/PHPUnit/Runner.php
protected function initTokens()
    {
        $this->tokens = [];
        for ($i = 1; $i <= $this->options->processes; ++$i) {
            $this->tokens[$i] = ['token' => $i, 'unique' => uniqid(sprintf('%s_', $i)), 'available' => true];
        }
    }
protected function initTokens()
    {
        $this->tokens = [];
        for ($i = 1; $i <= $this->options->processes; ++$i) {
            $this->tokens[$i] = ['token' => $i, 'unique' => uniqid(sprintf('%s_', $i)), 'available' => true];
        }
    }
protected function initTokens ( ) { $ this -> tokens = [ ] ; for ( $ i = 1 ; $ i <= $ this -> options -> processes ; ++ $ i ) { $ this -> tokens [ $ i ] = [ 'token' => $ i , 'unique' => uniqid ( sprintf ( '%s_' , $ i ) ) , 'available' => true ] ; } }
Initialize the available test tokens based
on how many processes ParaTest will be run in.
Initialize the available test tokens based on how many processes ParaTest will be run in .