Example #1
0
 public function getVersions()
 {
     $versions = array();
     $tags = $this->client->tags();
     foreach ($tags as $tag) {
         $versions[] = $this->createVersion($tag->getName(), $tag->getRevision());
     }
     $branches = $this->client->branches();
     foreach ($branches as $branch) {
         $versions[] = $this->createVersion($branch->getName(), $branch->getRevision(), 'dev');
     }
     return $versions;
 }
Example #2
0
 public function testTags()
 {
     $tags = $this->client->tags();
     $this->assertInternalType('array', $tags);
 }