Completed
Push — master ( 77bc0e...ee0a5c )
by Stig
10:37 queued 04:14
created
code/control/EnvironmentOverview.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@
 block discarded – undo
70 70
 	public function getModel($name = '') {
71 71
 		$base = Director::absoluteBaseURL();
72 72
 		return [
73
-			'basename' => Director::baseURL() . $this->getCurrentEnvironment()->Link('overview'),
73
+			'basename' => Director::baseURL().$this->getCurrentEnvironment()->Link('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(),
Please login to merge, or discard this patch.
code/api/DeploynautAPIFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 		// failover for older deployments
42 42
 		$started = $deployment->Created;
43 43
 		$startedNice = $deployment->obj('Created')->Nice();
44
-		if($deployment->DeployStarted) {
44
+		if ($deployment->DeployStarted) {
45 45
 			$started = $deployment->DeployStarted;
46 46
 			$startedNice = $deployment->obj('DeployStarted')->Nice();
47 47
 		}
Please login to merge, or discard this patch.