protected function setupCiCapabilities(
        DesiredCapabilities $capabilities,
        AbstractTestCase $test
    ): DesiredCapabilities {
        $ci = $this->ciDetector->detect();
        $capabilities->setCapability(
            'build',
            $this->config->env . '-' . $ci->getBuildNumber()
        );
        $capabilities->setCapability(
            'tags',
            [$this->config->env, $ci->getCiName(), get_class($test)]
        );

        return $capabilities;
    }
protected function setupCiCapabilities(
        DesiredCapabilities $capabilities,
        AbstractTestCase $test
    ): DesiredCapabilities {
        $ci = $this->ciDetector->detect();
        $capabilities->setCapability(
            'build',
            $this->config->env . '-' . $ci->getBuildNumber()
        );
        $capabilities->setCapability(
            'tags',
            [$this->config->env, $ci->getCiName(), get_class($test)]
        );

        return $capabilities;
    }
protected function setupCiCapabilities ( DesiredCapabilities $ capabilities , AbstractTestCase $ test ) : DesiredCapabilities { $ ci = $ this -> ciDetector -> detect ( ) ; $ capabilities -> setCapability ( 'build' , $ this -> config -> env . '-' . $ ci -> getBuildNumber ( ) ) ; $ capabilities -> setCapability ( 'tags' , [ $ this -> config -> env , $ ci -> getCiName ( ) , get_class ( $ test ) ] ) ; return $ capabilities ; }
Setup capabilities specific for continuous integration server
Setup capabilities specific for continuous integration server