Skip to content

Commit

Permalink
Merge pull request #24 from voku/analysis-qyrRdb
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
voku committed May 23, 2016
2 parents 02fa249 + 9efbbc4 commit 554335a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function init()
* Returns a CharacterReader suitable for the charset applied.
*
* @param string $charset
*
*
* @return Swift_CharacterReaderFactory
*/
public function getReaderFor($charset)
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Swift/Mime/Headers/MailboxHeaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public function testMultipleAddressesAsMailboxes()
$header->setAddresses(array('chris@swiftmailer.org', 'mark@swiftmailer.org',));
$this->assertEquals(
array(
'chris@swiftmailer.org' => null,
'chris@swiftmailer.org' => null,
'mark@swiftmailer.org' => null
),
),
$header->getNameAddresses()
);
}
Expand Down
12 changes: 6 additions & 6 deletions tests/unit/Swift/StreamFilters/StringReplacementFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ public function testShouldBufferReturnsFalseOnEmptySearch()

public function testShouldBufferReturnsFalseOnEmptySearchAndReplacer()
{
$filter = $this->_createFilter(array(), "");
$filter = $this->_createFilter(array(), '');
$this->assertFalse($filter->shouldBuffer("foo\r\nbar"));

$filter = $this->_createFilter(array(), "");
$this->assertFalse($filter->shouldBuffer(""));
$filter = $this->_createFilter(array(), '');
$this->assertFalse($filter->shouldBuffer(''));
}

public function testShouldBufferReturnsFalseOnEmptyReplacer()
{
$filter = $this->_createFilter(array('foo'), "");
$filter = $this->_createFilter(array('foo'), '');
$this->assertFalse($filter->shouldBuffer("foo\r\nbar"));

$filter = $this->_createFilter(array('foo'), "");
$this->assertFalse($filter->shouldBuffer(""));
$filter = $this->_createFilter(array('foo'), '');
$this->assertFalse($filter->shouldBuffer(''));
}

public function testShouldBufferReturnsFalseIfPartialMatchNotAtEndOfString()
Expand Down

0 comments on commit 554335a

Please sign in to comment.