/** * Collect git repository info into json_file. * * @return \Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand */ protected function collectGitInfo() { $this->logger->info('Collect git info'); $this->api->collectGitInfo(); return $this; }
/** * @test * @depends collectCloverXml */ public function collectGitInfo(Jobs $object) { $same = $object->collectGitInfo(); // return $this $this->assertSame($same, $object); return $object; }