From 004d4117720262fa73d37c5773d636b48091c375 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Sun, 17 May 2015 19:33:14 +0200 Subject: [PATCH] PSR2 Fixes --- unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php b/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php index fde43e56..d42ae44d 100644 --- a/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php +++ b/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php @@ -359,7 +359,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase public function testEDATEtoPHP() { PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC); - $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26',-1); + $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26', -1); PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); $this->assertEquals(1324857600, $result, null, 1E-8); } @@ -367,7 +367,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase public function testEDATEtoPHPObject() { PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT); - $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26',-1); + $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26', -1); PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); // Must return an object... $this->assertTrue(is_object($result)); @@ -396,7 +396,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase public function testEOMONTHtoPHP() { PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC); - $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26',-1); + $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26', -1); PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); $this->assertEquals(1325289600, $result, null, 1E-8); } @@ -404,7 +404,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase public function testEOMONTHtoPHPObject() { PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT); - $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26',-1); + $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26', -1); PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); // Must return an object... $this->assertTrue(is_object($result));