Completed
Push — master ( 8969e1...3ade34 )
by Joas
21:37
created
lib/private/Mail/Mailer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 		$mailer = $this->getInstance();
173 173
 
174 174
 		// Enable logger if debug mode is enabled
175
-		if($debugMode) {
175
+		if ($debugMode) {
176 176
 			$mailLogger = new \Swift_Plugins_Loggers_ArrayLogger();
177 177
 			$mailer->registerPlugin(new \Swift_Plugins_LoggerPlugin($mailLogger));
178 178
 		}
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 		// Debugging logging
183 183
 		$logMessage = sprintf('Sent mail to "%s" with subject "%s"', print_r($message->getTo(), true), $message->getSubject());
184 184
 		$this->logger->debug($logMessage, ['app' => 'core']);
185
-		if($debugMode && isset($mailLogger)) {
185
+		if ($debugMode && isset($mailLogger)) {
186 186
 			$this->logger->debug($mailLogger->dump(), ['app' => 'core']);
187 187
 		}
188 188
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 		}
217 217
 
218 218
 		list($name, $domain) = explode('@', $email, 2);
219
-		$domain = idn_to_ascii($domain, 0,INTL_IDNA_VARIANT_UTS46);
219
+		$domain = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46);
220 220
 		return $name.'@'.$domain;
221 221
 	}
222 222
 
@@ -281,6 +281,6 @@  discard block
 block discarded – undo
281 281
 				break;
282 282
 		}
283 283
 
284
-		return new \Swift_SendmailTransport($binaryPath . ' -bs');
284
+		return new \Swift_SendmailTransport($binaryPath.' -bs');
285 285
 	}
286 286
 }
Please login to merge, or discard this patch.