сode formatting (CS Fixer)

This commit is contained in:
Alexander Rakushin committed 2019-09-29 18:32:18 +03:00
1 parent b802cce694
commit 29bb8d322d
4 files changed
+6 -14

No files matched your search

@@ -225,7 +225,6 @@ class WriterWithStyleTest extends TestCase
->setFormat('0.000')
->build();
$dataRows = [
$this->createStyledRowFromValues([1.123456789], $style),
$this->createStyledRowFromValues([12.1], $style2),
@@ -233,7 +232,6 @@ class WriterWithStyleTest extends TestCase
$this->writeToXLSXFile($dataRows, $fileName);
$formatsDomElement = $this->getXmlSectionFromStylesXmlFile($fileName, 'numFmts');
$this->assertEquals(
1,
@@ -241,13 +239,11 @@ class WriterWithStyleTest extends TestCase
'There should be 2 formats, including the 1 default ones'
);
$cellXfsDomElement = $this->getXmlSectionFromStylesXmlFile($fileName, 'cellXfs');
foreach ([2, 164] as $index => $expected) {
$xfElement = $cellXfsDomElement->getElementsByTagName('xf')->item($index + 1);
$this->assertEquals($expected, $xfElement->getAttribute('numFmtId'));
}
}