Passed
Push — master ( 7ea105...f7c21b )
by Joao
39s
created
src/Util.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public static function getFullEmail($email, $name = "")
19 19
     {
20 20
         if (!empty($name)) {
21
-            return "\"" . $name . "\" <" . $email . ">";
21
+            return "\"".$name."\" <".$email.">";
22 22
         } else {
23 23
             return $email;
24 24
         }
Please login to merge, or discard this patch.
src/Wrapper/MailgunApiWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $result = $request->postMultiPartForm($message);
59 59
         $resultJson = json_decode($result, true);
60 60
         if (!isset($resultJson['id'])) {
61
-            throw new MailApiException('Mailgun: ' . $resultJson['message']);
61
+            throw new MailApiException('Mailgun: '.$resultJson['message']);
62 62
         }
63 63
 
64 64
         return true;
Please login to merge, or discard this patch.
src/Wrapper/SendMailWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         // Fix BCC header because PHPMailer does not send to us
27 27
         foreach ((array)$envelope->getBCC() as $bccEmail) {
28
-            $messageParts['header'] .= 'Bcc: ' . $bccEmail . "\n";
28
+            $messageParts['header'] .= 'Bcc: '.$bccEmail."\n";
29 29
         }
30 30
 
31 31
         foreach ($envelope->getTo() as $toEmail) {
Please login to merge, or discard this patch.
src/Wrapper/PHPMailerWrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         // Add Blind Carbon Copy
64 64
         foreach ((array)$envelope->getBCC() as $bccItem) {
65 65
             $bcc = Util::decomposeEmail($bccItem);
66
-            $mail->addCustomHeader("Bcc: " . $bcc["email"]);
66
+            $mail->addCustomHeader("Bcc: ".$bcc["email"]);
67 67
         }
68 68
 
69 69
         // Attachments
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         if (!empty($this->uri->getUsername())) {
109 109
             $mail->SMTPAuth = true;
110 110
             $mail->Username = $this->uri->getUsername(); // SMTP account username
111
-            $mail->Password = $this->uri->getPassword();        // SMTP account password
111
+            $mail->Password = $this->uri->getPassword(); // SMTP account password
112 112
         }
113 113
 
114 114
         if (!$mail->send()) {
Please login to merge, or discard this patch.
src/Override/PHPMailerOverride.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $parts = $this->getMessageEnvelopeParts();
23 23
 
24
-        return $parts['header'] . $parts['body'];
24
+        return $parts['header'].$parts['body'];
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.