Passed
Branch master (03cc84)
by Alcenir
02:00 queued 40s
created
exemple/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 $notification = new Email(
9 9
 	2,
10 10
 	CONF_MAIL_HOST, // criar difine em um arquivo config.php
11
-	CONF_MAIL_USER,// criar difine em um arquivo config.php
12
-	CONF_MAIL_PASS,// criar difine em um arquivo config.php
11
+	CONF_MAIL_USER, // criar difine em um arquivo config.php
12
+	CONF_MAIL_PASS, // criar difine em um arquivo config.php
13 13
 	'tls'
14 14
 );
15 15
 
Please login to merge, or discard this patch.
src/Email.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
 		$this->mail = new PHPMailer(true);
41 41
         $this->data = new \stdClass();
42 42
 		//Server settings
43
-		$this->mail->SMTPDebug = $smtpDegug;          // Enable verbose debug output
44
-		$this->mail->isSMTP();                        // Send using SMTP
45
-		$this->mail->Host = $host;                    // Set the SMTP server to send through
46
-		$this->mail->SMTPAuth = true;                 // Enable SMTP authentication
47
-		$this->mail->Username = $user;                // SMTP username
48
-		$this->mail->Password = $passwd;              // SMTP password
49
-		$this->mail->SMTPSecure = $smtpSecure;        // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS |PHPMailer::ENCRYPTION_STARTTLS` also accepted
50
-		$this->mail->Port = $port;                    // TCP port to connect to
43
+		$this->mail->SMTPDebug = $smtpDegug; // Enable verbose debug output
44
+		$this->mail->isSMTP(); // Send using SMTP
45
+		$this->mail->Host = $host; // Set the SMTP server to send through
46
+		$this->mail->SMTPAuth = true; // Enable SMTP authentication
47
+		$this->mail->Username = $user; // SMTP username
48
+		$this->mail->Password = $passwd; // SMTP password
49
+		$this->mail->SMTPSecure = $smtpSecure; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS |PHPMailer::ENCRYPTION_STARTTLS` also accepted
50
+		$this->mail->Port = $port; // TCP port to connect to
51 51
 		$this->mail->CharSet = $charSEt;
52 52
 		$this->mail->setLanguage($language);
53 53
 		$this->mail->isHTML(true);
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 		
39 39
 	) {
40 40
 		$this->mail = new PHPMailer(true);
41
-        $this->data = new \stdClass();
41
+		$this->data = new \stdClass();
42 42
 		//Server settings
43 43
 		$this->mail->SMTPDebug = $smtpDegug;          // Enable verbose debug output
44 44
 		$this->mail->isSMTP();                        // Send using SMTP
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
 				
100 100
 		try {
101 101
 			$this->mail->Subject = $this->data->subject;
102
-            $this->mail->msgHTML($this->data->body);
103
-            $this->mail->addAddress($this->data->recipient_email, $this->data->recipient_name);
102
+			$this->mail->msgHTML($this->data->body);
103
+			$this->mail->addAddress($this->data->recipient_email, $this->data->recipient_name);
104 104
 			$this->mail->setFrom($from, $fromName);
105 105
 			
106 106
 
Please login to merge, or discard this patch.