From abecaf1b5d2e220e7caeab0034693553dd3d1f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bl=C3=A4ul?= Date: Fri, 2 Mar 2018 17:25:38 +0100 Subject: [PATCH] Only re-formated source code slightly --- tests/methods/ParseTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/methods/ParseTest.php b/tests/methods/ParseTest.php index ae4d667..28f04f7 100644 --- a/tests/methods/ParseTest.php +++ b/tests/methods/ParseTest.php @@ -1,11 +1,11 @@ assertEquals($this->_get_magazines_data(), $this->csv->data); } - public function autoDetectionProvider(){ + public function autoDetectionProvider() { return [ 'UTF8_no_BOM' => [__DIR__ . '/../example_files/UTF-8_sep_row_but_no_BOM.csv'], 'UTF8' => [__DIR__ . '/../example_files/UTF-8_with_BOM_and_sep_row.csv'], @@ -147,7 +147,7 @@ class ParseTest extends TestCase 'publishedAt' => 'date', 'published' => 'boolean', 'count' => 'integer', - 'price' => 'float' + 'price' => 'float', ]; $this->assertEquals($expected, $this->csv->data_types); @@ -173,8 +173,8 @@ class ParseTest extends TestCase $this->csv->heading = false; $this->csv->offset = 2; $this->csv->auto(__DIR__ . '/fixtures/datatype.csv'); - $expected = range(0,5, 1); - + $expected = range(0, 5, 1); + $this->assertEquals($expected, array_keys($this->csv->data[0])); } @@ -206,7 +206,7 @@ class ParseTest extends TestCase } /** - * @depends testSepRowAutoDetection + * @depends testSepRowAutoDetection * * @dataProvider autoQuotesDataProvider *