/** * Fill repo_token for unsupported CI service. * * "COVERALLS_REPO_TOKEN" must be set. * * @return \Satooshi\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector */ protected function fillRepoToken() { if ($this->config->hasRepoToken()) { $this->env['COVERALLS_REPO_TOKEN'] = $this->config->getRepoToken(); } // backup if (isset($this->env['COVERALLS_REPO_TOKEN'])) { $this->readEnv['COVERALLS_REPO_TOKEN'] = $this->env['COVERALLS_REPO_TOKEN']; } return $this; }