Completed
Pull Request — master (#627)
by Stig
03:55
created
code/control/DNDeploymentDispatcher.php 1 patch
Switch Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@
 block discarded – undo
100 100
 				$code = null;
101 101
 
102 102
 				switch ($e->getTransition()->getName()) {
103
-				case DNDeployment::TR_SUBMIT:
104
-					$code = self::ALLOW_DNDEPLOYMENT_SUBMIT;
105
-					break;
106
-				case DNDeployment::TR_QUEUE:
107
-					$code = self::ALLOW_DNDEPLOYMENT_QUEUE;
108
-					break;
103
+					case DNDeployment::TR_SUBMIT:
104
+						$code = self::ALLOW_DNDEPLOYMENT_SUBMIT;
105
+						break;
106
+					case DNDeployment::TR_QUEUE:
107
+						$code = self::ALLOW_DNDEPLOYMENT_QUEUE;
108
+						break;
109 109
 				}
110 110
 
111 111
 				if (!$code || !$project->allowed($code)) {
Please login to merge, or discard this patch.
code/control/DeployDispatcher.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -144,13 +144,13 @@
 block discarded – undo
144 144
 	}
145 145
 
146 146
 	/**
147
-	    * Action - Get the latest deploy log
148
-	    *
149
-	    * @param SS_HTTPRequest $request
150
-	    *
151
-	    * @return string
152
-	    * @throws SS_HTTPResponse_Exception
153
-	    */
147
+	 * Action - Get the latest deploy log
148
+	 *
149
+	 * @param SS_HTTPRequest $request
150
+	 *
151
+	 * @return string
152
+	 * @throws SS_HTTPResponse_Exception
153
+	 */
154 154
 	public function log(SS_HTTPRequest $request) {
155 155
 		$params = $request->params();
156 156
 		$deployment = DNDeployment::get()->byId($params['ID']);
Please login to merge, or discard this patch.