X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fphpmailer%2Ftest%2Fphpmailer_test.php;h=22d6f42b8e6ef0388e420db37ff98224b0b596f8;hb=d2c972ef5f68c2f69865aa4f392841d166a419ae;hp=8a933e521f48985a1c654e2a228e194c1fc191c3;hpb=d495bd859975d08ee459d03c9b1cd51dd9b9304d;p=mailer.git diff --git a/inc/phpmailer/test/phpmailer_test.php b/inc/phpmailer/test/phpmailer_test.php index 8a933e521f..22d6f42b8e 100644 --- a/inc/phpmailer/test/phpmailer_test.php +++ b/inc/phpmailer/test/phpmailer_test.php @@ -69,7 +69,7 @@ class phpmailerTest extends TestCase $this->Mail->Subject = "Unit Test"; $this->Mail->Body = ""; $this->Mail->AltBody = ""; - $this->Mail->WordWrap = '0'; + $this->Mail->WordWrap = 0; $this->Mail->Host = $global_vars["mail_host"]; $this->Mail->Port = 25; $this->Mail->Helo = "localhost.localdomain"; @@ -145,7 +145,7 @@ class phpmailerTest extends TestCase { $ReportBody .= "Attachments:" . $eol; $ReportBody .= $bullet_start; - for($i = '0'; $i < count($this->Mail->attachment); $i++) + for($i = 0; $i < count($this->Mail->attachment); $i++) { $ReportBody .= $bullet . "Name: " . $this->Mail->attachment[$i][1] . ", "; $ReportBody .= "Encoding: " . $this->Mail->attachment[$i][3] . ", "; @@ -161,7 +161,7 @@ class phpmailerTest extends TestCase $ReportBody .= "-------" . $eol; $ReportBody .= $bullet_start; - for($i = '0'; $i < count($this->ChangeLog); $i++) + for($i = 0; $i < count($this->ChangeLog); $i++) { $ReportBody .= $bullet . $this->ChangeLog[$i][0] . " was changed to [" . $this->ChangeLog[$i][1] . "]" . $eol; @@ -176,7 +176,7 @@ class phpmailerTest extends TestCase $ReportBody .= "-----" . $eol; $ReportBody .= $bullet_start; - for($i = '0'; $i < count($this->NoteLog); $i++) + for($i = 0; $i < count($this->NoteLog); $i++) { $ReportBody .= $bullet . $this->NoteLog[$i] . $eol; }