/**
  * Collect git repository info into json_file.
  *
  * @return \Satooshi\Bundle\CoverallsV1Bundle\Repository\JobsRepository
  */
 protected function collectGitInfo()
 {
     if (false === $this->config->useGitInformation()) {
         return $this;
     }
     $this->logger->info('Collect git info');
     $this->api->collectGitInfo();
     return $this;
 }
示例#2
0
 /**
  * Collect git repository info into json_file.
  *
  * @return \Satooshi\Bundle\CoverallsV1Bundle\Repository\JobsRepository
  */
 protected function collectGitInfo()
 {
     $this->logger->info('Collect git info');
     $this->api->collectGitInfo();
     return $this;
 }
示例#3
0
 /**
  * @test
  * @depends shouldCollectCloverXml
  */
 public function shouldCollectGitInfo(Jobs $object)
 {
     $same = $object->collectGitInfo();
     // return $this
     $this->assertSame($same, $object);
     return $object;
 }