From 170671c616bfb31cf1684e95583e2749d3823cee Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Mon, 15 Apr 2019 22:49:51 +0200 Subject: [PATCH] CS Fixes (#962) --- .../PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php b/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php index 846c3742..02c752ac 100644 --- a/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php @@ -2,12 +2,10 @@ namespace PhpOffice\PhpSpreadsheetTests\Functional; -use PhpOffice\PhpSpreadsheet\Reader\IReadFilter; use PhpOffice\PhpSpreadsheet\Spreadsheet; class ReadBlankCellsTest extends AbstractFunctional { - public function providerSheetFormat() { return [ @@ -20,7 +18,7 @@ class ReadBlankCellsTest extends AbstractFunctional } /** - * Test generate file with some empty cells + * Test generate file with some empty cells. * * @dataProvider providerSheetFormat * @@ -39,12 +37,11 @@ class ReadBlankCellsTest extends AbstractFunctional $this->assertFalse($reloadedSpreadsheet->getActiveSheet()->getCellCollection()->has('C2')); $this->assertTrue($reloadedSpreadsheet->getActiveSheet()->getCellCollection()->has('C3')); - $reloadedSpreadsheet = $this->writeAndReload($spreadsheet, $format, function($reader) { + $reloadedSpreadsheet = $this->writeAndReload($spreadsheet, $format, function ($reader) { $reader->setReadEmptyCells(false); }); $this->assertFalse($reloadedSpreadsheet->getActiveSheet()->getCellCollection()->has('B2')); $this->assertFalse($reloadedSpreadsheet->getActiveSheet()->getCellCollection()->has('C2')); $this->assertTrue($reloadedSpreadsheet->getActiveSheet()->getCellCollection()->has('C3')); } - }