/** * 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; }
/** * 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; }
/** * @test * @depends shouldCollectCloverXml */ public function shouldCollectGitInfo(Jobs $object) { $same = $object->collectGitInfo(); // return $this $this->assertSame($same, $object); return $object; }