File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function getMessage()
7373 return $ message ;
7474 }
7575
76- public function isWindows ()
76+ private function isWindows ()
7777 {
7878 return $ this ->operating_system === 'WIN ' ;
7979 }
@@ -263,12 +263,10 @@ public function testDoNotAllowMessageWithoutToAndCcAndBccHeaders()
263263 }
264264
265265 /**
266- * @see @see https://github.com/laminas/laminas-mail/issues/19
266+ * @see https://github.com/laminas/laminas-mail/issues/19
267267 */
268268 public function testHeadersToAndSubjectAreNotDuplicated ()
269269 {
270- $ lineBreak = $ this ->isWindows () ? "\r\n" : "\n" ;
271-
272270 $ message = new Message ();
273271 $ message
274272 ->addTo ('matthew@example.org ' )
@@ -282,6 +280,6 @@ public function testHeadersToAndSubjectAreNotDuplicated()
282280 $ this ->assertEquals ('Greetings and Salutations! ' , $ this ->subject );
283281
284282 $ this ->assertNotRegExp ('/^To: matthew\@example\.org$/m ' , $ this ->additional_headers );
285- $ this ->assertNotRegExp ('/^Subject: Greetings and Salutations\ !$/m ' , $ this ->additional_headers );
283+ $ this ->assertNotRegExp ('/^Subject: Greetings and Salutations!$/m ' , $ this ->additional_headers );
286284 }
287285}
You can’t perform that action at this time.
0 commit comments