Completed
Push — master ( 1e6e9e...76f30a )
by Joao
02:19
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/Override/PHPMailerOverride.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     {
9 9
         $parts = $this->getMessageEnvelopeParts();
10 10
 
11
-        return $parts['header'] . $parts['body'];
11
+        return $parts['header'].$parts['body'];
12 12
     }
13 13
 
14 14
     public function getMessageEnvelopeParts()
Please login to merge, or discard this patch.
src/Envelope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
         } elseif ($protocol === "mailgun") {
201 201
             $mail = new MailgunApiWrapper($connection);
202 202
         } else {
203
-            throw new InvalidArgumentException("Connection '" . $connection->getProtocol() . "' is not valid");
203
+            throw new InvalidArgumentException("Connection '".$connection->getProtocol()."' is not valid");
204 204
         }
205 205
 
206 206
         return $mail;
Please login to merge, or discard this patch.
src/Wrapper/MailgunApiWrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 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
-            $message = 'Bcc: ' . $bccEmail . "\n" . $message;
28
+            $message = 'Bcc: '.$bccEmail."\n".$message;
29 29
         }
30 30
 
31 31
         $domainName = $this->connection->getServer();
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $resultJson = json_decode($result, true);
47 47
         if (!isset($resultJson['id'])) {
48
-            throw new Exception('Mailgun: ' . $resultJson['message']);
48
+            throw new Exception('Mailgun: '.$resultJson['message']);
49 49
         }
50 50
 
51 51
         return true;
Please login to merge, or discard this patch.
src/Wrapper/PHPMailerWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         if (!empty($this->connection->getUsername())) {
93 93
             $mail->SMTPAuth = true;
94 94
             $mail->Username = $this->connection->getUsername(); // SMTP account username
95
-            $mail->Password = $this->connection->getPassword();        // SMTP account password
95
+            $mail->Password = $this->connection->getPassword(); // SMTP account password
96 96
         }
97 97
 
98 98
         if (!$mail->send()) {
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
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         // Fix BCC header because PHPMailer does not send to us
25 25
         foreach ((array)$envelope->getBCC() as $bccEmail) {
26
-            $messageParts['header'] .= 'Bcc: ' . $bccEmail . "\n";
26
+            $messageParts['header'] .= 'Bcc: '.$bccEmail."\n";
27 27
         }
28 28
 
29 29
         mail($envelope->getTo(), $envelope->getSubject(), $messageParts['body'], $messageParts['header']);
Please login to merge, or discard this patch.
src/Wrapper/MandrillApiWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         } else {
75 75
             $resultJson = json_decode($result, true);
76 76
             if ($resultJson[0]['status'] == 'error') {
77
-                throw new Exception('Mandrill: ' . $resultJson[0]['message']);
77
+                throw new Exception('Mandrill: '.$resultJson[0]['message']);
78 78
             }
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Wrapper/AmazonSesWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
         // Fix BCC header because PHPMailer does not send to us
26 26
         foreach ((array)$envelope->getBCC() as $bccEmail) {
27
-            $message = 'Bcc: ' . $bccEmail . "\n" . $message;
27
+            $message = 'Bcc: '.$bccEmail."\n".$message;
28 28
         }
29 29
 
30 30
         //Send the message (which must be base 64 encoded):
Please login to merge, or discard this patch.