Example #1
0
 public function diff(Version $oldVersion, Version $newVersion)
 {
     $head = $this->getHead($oldVersion);
     $this->client->setHead($head);
     $result = $this->client->diff($this->getHead($oldVersion), $this->getHead($newVersion), $oldVersion->getBuild(), $newVersion->getBuild());
     return $result;
 }
Example #2
0
 public function testSwitchingToDifferentBranch()
 {
     $result = $this->client->setHead(new Reference('feature1'));
 }