Passed
Push — master ( 14e18f...4d6973 )
by Dong
01:45
created
src/sender/Email.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -99,14 +99,14 @@  discard block
 block discarded – undo
99 99
 
100 100
         try {
101 101
             //Server settings
102
-            $mail->SMTPDebug = $this->config['debug'];  // Enable verbose debug output
103
-            $mail->isSMTP();  // Set mailer to use SMTP
104
-            $mail->Host = $this->config['host'];  // Specify main and backup SMTP servers
105
-            $mail->SMTPAuth = true;  // Enable SMTP authentication
106
-            $mail->Username = $this->config['username'];  // SMTP username
107
-            $mail->Password = $this->config['password'];  // SMTP password
108
-            $mail->SMTPSecure = $this->config['SMTPSecure'];  // Enable TLS encryption, `ssl` also accepted
109
-            $mail->Port = $this->config['port'];  // TCP port to connect to
102
+            $mail->SMTPDebug = $this->config['debug']; // Enable verbose debug output
103
+            $mail->isSMTP(); // Set mailer to use SMTP
104
+            $mail->Host = $this->config['host']; // Specify main and backup SMTP servers
105
+            $mail->SMTPAuth = true; // Enable SMTP authentication
106
+            $mail->Username = $this->config['username']; // SMTP username
107
+            $mail->Password = $this->config['password']; // SMTP password
108
+            $mail->SMTPSecure = $this->config['SMTPSecure']; // Enable TLS encryption, `ssl` also accepted
109
+            $mail->Port = $this->config['port']; // TCP port to connect to
110 110
             $mail->CharSet = 'UTF-8';
111 111
             $mail->SMTPOptions = $this->config['SMTPOptions'];
112 112
             //Recipients
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 }
149 149
             }
150 150
             // Content
151
-            $mail->isHTML(true);                                  // Set email format to HTML
151
+            $mail->isHTML(true); // Set email format to HTML
152 152
             $mail->Subject = $msg['subject'];
153 153
             $mail->Body = $msg['body'];
154 154
 
Please login to merge, or discard this patch.
src/WechatManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             'signature' => $config['signature'],
106 106
             'expire_time' => $result['expire_time'],
107 107
         ];
108
-        \Dongdavid\Notify\cache($key,$data);
108
+        \Dongdavid\Notify\cache($key, $data);
109 109
 
110 110
         return $data['ticket'];
111 111
     }
Please login to merge, or discard this patch.