Completed
Pull Request — master (#776)
by Stig
07:08 queued 03:11
created
code/tasks/CleanupOrphanedRecordsTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 	public function run($request) {
6 6
 		$log = function($message) {
7
-			$message = sprintf('[%s] ', date('Y-m-d H:i:s')) . $message;
8
-			echo $message . PHP_EOL;
7
+			$message = sprintf('[%s] ', date('Y-m-d H:i:s')).$message;
8
+			echo $message.PHP_EOL;
9 9
 		};
10 10
 
11 11
 		if (!Director::is_cli()) {
Please login to merge, or discard this patch.
code/model/options/NoRollbackDeployOption.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 	}
13 13
 
14 14
 	public function __get($name) {
15
-		if (method_exists($this, 'get' . $name)) {
16
-			return $this->{'get' . $name}();
15
+		if (method_exists($this, 'get'.$name)) {
16
+			return $this->{'get'.$name}();
17 17
 		}
18 18
 		return $this->$name;
19 19
 	}
Please login to merge, or discard this patch.
code/model/options/PredeployBackupOption.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 	}
13 13
 
14 14
 	public function __get($name) {
15
-		if (method_exists($this, 'get' . $name)) {
16
-			return $this->{'get' . $name}();
15
+		if (method_exists($this, 'get'.$name)) {
16
+			return $this->{'get'.$name}();
17 17
 		}
18 18
 		return $this->$name;
19 19
 	}
Please login to merge, or discard this patch.
code/control/DeployForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
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(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(),
Please login to merge, or discard this patch.