Added highlighting for build config + updated dependencies

This commit is contained in:
Dmitry Khomutov 2017-02-10 23:14:07 +07:00
commit 91a8054fdd
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
5 changed files with 78 additions and 39 deletions

View file

@ -8,17 +8,19 @@ namespace PHPCensor\Model\Build;
class GogsBuild extends RemoteGitBuild
{
/**
* Get link to commit from Gogs repositorie
* Get link to commit from Gogs repository
*/
public function getCommitLink()
{
if ($this->getCommitId() !== 'manual'){
return $this->getProject()->getReference() . '/commit/' . $this->getCommitId();
}
return parent::getCommitLink();
}
/**
* Get link to branch from Gogs repositorie
* Get link to branch from Gogs repository
*/
public function getBranchLink()
{