protected function fillLocal()
    {
        if (isset($this->env['COVERALLS_RUN_LOCALLY']) && $this->env['COVERALLS_RUN_LOCALLY']) {
            $this->env['CI_JOB_ID'] = null;
            $this->env['CI_NAME'] = 'php-coveralls';
            $this->env['COVERALLS_EVENT_TYPE'] = 'manual';

            // backup
            $this->readEnv['COVERALLS_RUN_LOCALLY'] = $this->env['COVERALLS_RUN_LOCALLY'];
            $this->readEnv['COVERALLS_EVENT_TYPE'] = $this->env['COVERALLS_EVENT_TYPE'];
            $this->readEnv['CI_NAME'] = $this->env['CI_NAME'];
        }

        return $this;
    }
protected function fillLocal()
    {
        if (isset($this->env['COVERALLS_RUN_LOCALLY']) && $this->env['COVERALLS_RUN_LOCALLY']) {
            $this->env['CI_JOB_ID'] = null;
            $this->env['CI_NAME'] = 'php-coveralls';
            $this->env['COVERALLS_EVENT_TYPE'] = 'manual';

            // backup
            $this->readEnv['COVERALLS_RUN_LOCALLY'] = $this->env['COVERALLS_RUN_LOCALLY'];
            $this->readEnv['COVERALLS_EVENT_TYPE'] = $this->env['COVERALLS_EVENT_TYPE'];
            $this->readEnv['CI_NAME'] = $this->env['CI_NAME'];
        }

        return $this;
    }
protected function fillLocal ( ) { if ( isset ( $ this -> env [ 'COVERALLS_RUN_LOCALLY' ] ) && $ this -> env [ 'COVERALLS_RUN_LOCALLY' ] ) { $ this -> env [ 'CI_JOB_ID' ] = null ; $ this -> env [ 'CI_NAME' ] = 'php-coveralls' ; $ this -> env [ 'COVERALLS_EVENT_TYPE' ] = 'manual' ; // backup $ this -> readEnv [ 'COVERALLS_RUN_LOCALLY' ] = $ this -> env [ 'COVERALLS_RUN_LOCALLY' ] ; $ this -> readEnv [ 'COVERALLS_EVENT_TYPE' ] = $ this -> env [ 'COVERALLS_EVENT_TYPE' ] ; $ this -> readEnv [ 'CI_NAME' ] = $ this -> env [ 'CI_NAME' ] ; } return $ this ; }
Fill local environment variables.

"COVERALLS_RUN_LOCALLY" must be set.

@return $this
Fill local environment variables .