RoboFile.php
function coverage(): Result {
    $path = (string) getenv('PATH');
    $vendor = (string) realpath(trim(`{$this->composer} global config bin-dir --absolute`));
    if (strpos($path, $vendor) === false) putenv("PATH=$vendor".PATH_SEPARATOR.$path);
    return $this->_exec('coveralls var/coverage.xml');
  }
function coverage(): Result {
    $path = (string) getenv('PATH');
    $vendor = (string) realpath(trim(`{$this->composer} global config bin-dir --absolute`));
    if (strpos($path, $vendor) === false) putenv("PATH=$vendor".PATH_SEPARATOR.$path);
    return $this->_exec('coveralls var/coverage.xml');
  }
function coverage ( ) : Result { $ path = ( string ) getenv ( 'PATH' ) ; $ vendor = ( string ) realpath ( trim ( `{$this->composer} global config bin-dir --absolute` ) ) ; if ( strpos ( $ path , $ vendor ) === false ) putenv ( "PATH=$vendor" . PATH_SEPARATOR . $ path ) ; return $ this -> _exec ( 'coveralls var/coverage.xml' ) ; }
Uploads the results of the code coverage.
@return Result The task result.
Uploads the results of the code coverage .