From 1c2e69f58b20ce2dd5529bd293de46f457ce8145 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Fri, 21 Sep 2012 10:08:31 -0500 Subject: [PATCH] CS fixes - Changes in php-cs-fixer resulted in a majority of ZF2 files failing due to EOF differences. Ran the tool over all files in tests and library, and updated the Zend\View\Helper\Navigation\Sitemap tests to make them more robust in expectations regarding EOF characters. --- src/Formatter/Base.php | 2 +- src/Formatter/Xml.php | 2 +- test/Writer/AbstractTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Formatter/Base.php b/src/Formatter/Base.php index 162b95ce..950fdcd9 100644 --- a/src/Formatter/Base.php +++ b/src/Formatter/Base.php @@ -111,4 +111,4 @@ public function setDateTimeFormat($dateTimeFormat) $this->dateTimeFormat = (string) $dateTimeFormat; return $this; } -} \ No newline at end of file +} diff --git a/src/Formatter/Xml.php b/src/Formatter/Xml.php index cbde6074..c28d849e 100644 --- a/src/Formatter/Xml.php +++ b/src/Formatter/Xml.php @@ -138,7 +138,7 @@ public function setEscaper(Escaper $escaper) $this->escaper = $escaper; return $this; } - + /** * Get Escaper instance * diff --git a/test/Writer/AbstractTest.php b/test/Writer/AbstractTest.php index 0f7230b0..68f9a42b 100644 --- a/test/Writer/AbstractTest.php +++ b/test/Writer/AbstractTest.php @@ -81,4 +81,4 @@ public function testConvertErrorsToException() $this->setExpectedException('PHPUnit_Framework_Error_Warning'); $writer->write(array('message' => 'test')); } -} \ No newline at end of file +}