-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 4.3: [4.3] Remove unused local variables
- Loading branch information
Showing
5 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -319,7 +319,6 @@ public function testGenerateBody() | |
$e->text('text content'); | ||
$e->attach($file); | ||
$e->attach($image, 'test.gif'); | ||
$fullhtml = new TextPart($content, 'utf-8', 'html'); | ||
$body = $e->getBody(); | ||
$this->assertInstanceOf(MixedPart::class, $body); | ||
$this->assertCount(2, $related = $body->getParts()); | ||
|
@@ -376,7 +375,7 @@ public function testSerialize() | |
$e->from('[email protected]'); | ||
$e->text($r); | ||
$e->html($r); | ||
$contents = file_get_contents($name = __DIR__.'/Fixtures/mimetypes/test', 'r'); | ||
$name = __DIR__.'/Fixtures/mimetypes/test'; | ||
$file = fopen($name, 'r'); | ||
$e->attach($file, 'test'); | ||
$expected = clone $e; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ public function testSingleAddressCanBeSetAndFetched() | |
public function testAddressMustComplyWithRfc2822() | ||
{ | ||
$this->expectException('Exception'); | ||
$header = new PathHeader('Return-Path', new Address('chr [email protected]')); | ||
new PathHeader('Return-Path', new Address('chr [email protected]')); | ||
} | ||
|
||
public function testValueIsAngleAddrWithValidAddress() | ||
|