Skip to content

Commit e3865b7

Browse files
committed
[4.3] Remove unused local variables
1 parent 9e6d5b0 commit e3865b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SmtpEnvelopeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public function testConstructorWithAddressRecipients()
4141
public function testConstructorWithNoRecipients()
4242
{
4343
$this->expectException(\InvalidArgumentException::class);
44-
$e = new SmtpEnvelope(new Address('fabien@symfony.com'), []);
44+
new SmtpEnvelope(new Address('fabien@symfony.com'), []);
4545
}
4646

4747
public function testConstructorWithWrongRecipients()
4848
{
4949
$this->expectException(\InvalidArgumentException::class);
50-
$e = new SmtpEnvelope(new Address('fabien@symfony.com'), ['lucas@symfony.com']);
50+
new SmtpEnvelope(new Address('fabien@symfony.com'), ['lucas@symfony.com']);
5151
}
5252

5353
public function testSenderFromHeaders()

Tests/SmtpEnvelopeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public function testConstructorWithAddressRecipients()
4141
public function testConstructorWithNoRecipients()
4242
{
4343
$this->expectException(\InvalidArgumentException::class);
44-
$e = new SmtpEnvelope(new Address('fabien@symfony.com'), []);
44+
new SmtpEnvelope(new Address('fabien@symfony.com'), []);
4545
}
4646

4747
public function testConstructorWithWrongRecipients()
4848
{
4949
$this->expectException(\InvalidArgumentException::class);
50-
$e = new SmtpEnvelope(new Address('fabien@symfony.com'), ['lucas@symfony.com']);
50+
new SmtpEnvelope(new Address('fabien@symfony.com'), ['lucas@symfony.com']);
5151
}
5252

5353
public function testSenderFromHeaders()

0 commit comments

Comments
 (0)