@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | substr($sha, 0, 8), |
| 95 | 95 | $branch->LastUpdated()->TimeDiff() |
| 96 | 96 | ); |
| 97 | - $branches[$sha . '-' . $name] = $branchValue; |
|
| 97 | + $branches[$sha.'-'.$name] = $branchValue; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | // Tags |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | substr($sha, 0, 8), |
| 108 | 108 | $branch->LastUpdated()->TimeDiff() |
| 109 | 109 | ); |
| 110 | - $tags[$sha . '-' . $name] = $tagValue; |
|
| 110 | + $tags[$sha.'-'.$name] = $tagValue; |
|
| 111 | 111 | } |
| 112 | 112 | $tags = array_reverse($tags); |
| 113 | 113 | |
@@ -70,12 +70,12 @@ |
||
| 70 | 70 | public function getModel($name = '') { |
| 71 | 71 | $base = Director::absoluteBaseURL(); |
| 72 | 72 | return [ |
| 73 | - 'basename' => Director::baseURL() . $this->getCurrentEnvironment()->Link(self::ACTION_OVERVIEW), |
|
| 73 | + 'basename' => Director::baseURL().$this->getCurrentEnvironment()->Link(self::ACTION_OVERVIEW), |
|
| 74 | 74 | 'dispatchers' => [ |
| 75 | - 'git' => $base . $this->getCurrentProject()->Link('git'), |
|
| 76 | - 'plan' => $base . $this->getCurrentEnvironment()->Link('plan'), |
|
| 77 | - 'deploys' => $base . $this->getCurrentEnvironment()->Link('deploys'), |
|
| 78 | - 'approvals' => $base . $this->getCurrentEnvironment()->Link('approvals') |
|
| 75 | + 'git' => $base.$this->getCurrentProject()->Link('git'), |
|
| 76 | + 'plan' => $base.$this->getCurrentEnvironment()->Link('plan'), |
|
| 77 | + 'deploys' => $base.$this->getCurrentEnvironment()->Link('deploys'), |
|
| 78 | + 'approvals' => $base.$this->getCurrentEnvironment()->Link('approvals') |
|
| 79 | 79 | ], |
| 80 | 80 | 'api_auth' => [ |
| 81 | 81 | 'name' => $this->getSecurityToken()->getName(), |