Code style fixes.
This commit is contained in:
parent
a16c82babc
commit
50b117455e
18 changed files with 133 additions and 130 deletions
|
|
@ -161,7 +161,7 @@ class GithubBuild extends GitBuild
|
|||
$project = $this->getProject();
|
||||
|
||||
if (!is_null($project)) {
|
||||
$reference = $project->getReference();
|
||||
$reference = $project->getReference();
|
||||
$commitLink = '<a href="https://github.com/' . $reference . '/issues/$1">#$1</a>';
|
||||
$rtn = preg_replace('/\#([0-9]+)/', $commitLink, $rtn);
|
||||
$rtn = preg_replace('/\@([a-zA-Z0-9_]+)/', '<a href="https://github.com/$1">@$1</a>', $rtn);
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ class GitlabBuild extends GitBuild
|
|||
$key = trim($this->getProject()->getSshPrivateKey());
|
||||
|
||||
if (!empty($key)) {
|
||||
$user = $this->getProject()->getAccessInformation("user");
|
||||
$user = $this->getProject()->getAccessInformation("user");
|
||||
$domain = $this->getProject()->getAccessInformation("domain");
|
||||
$port = $this->getProject()->getAccessInformation('port');
|
||||
$port = $this->getProject()->getAccessInformation('port');
|
||||
|
||||
$url = $user . '@' . $domain . ':';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue