Skip to content

Commit 3e0b06e

Browse files
Merge branch '4.4'
* 4.4: [4.3] Remove unused local variables
2 parents d588c89 + 637ae12 commit 3e0b06e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

EnvelopeTest.php

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

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

5454
public function testSenderFromHeaders()

Tests/EnvelopeTest.php

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

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

5454
public function testSenderFromHeaders()

0 commit comments

Comments
 (0)