Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
zendframework/zendframework#7079 - removing useless commas in `list()…
Browse files Browse the repository at this point in the history
…` calls
  • Loading branch information
Ocramius committed Dec 28, 2014
1 parent 4c6daa6 commit 03dadee
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/Storage/ImapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function testFetchMessageBody()
$mail = new Storage\Imap($this->_params);

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down
2 changes: 1 addition & 1 deletion test/Storage/MaildirMessageOldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function testFetchMessageBody()
$mail = new MaildirOldMessage(array('dirname' => $this->_maildir));

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down
2 changes: 1 addition & 1 deletion test/Storage/MaildirTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function testFetchMessageBody()
$mail = new Storage\Maildir(array('dirname' => $this->_maildir));

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down
2 changes: 1 addition & 1 deletion test/Storage/MboxMessageOldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function testFetchMessageBody()
$mail = new MboxOldMessage(array('filename' => $this->_mboxFile));

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down
2 changes: 1 addition & 1 deletion test/Storage/MboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function testFetchMessageBody()
$mail = new Storage\Mbox(array('filename' => $this->_mboxFile));

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down
2 changes: 1 addition & 1 deletion test/Storage/Pop3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function testFetchMessageBody()
$mail = new Storage\Pop3($this->_params);

$content = $mail->getMessage(3)->getContent();
list($content, ) = explode("\n", $content, 2);
list($content) = explode("\n", $content, 2);
$this->assertEquals('Fair river! in thy bright, clear flow', trim($content));
}

Expand Down

0 comments on commit 03dadee

Please # to comment.