From 69eeeff478b212146c616e9d428b9a33206fe8ef Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Wed, 12 May 2021 22:59:11 +0200 Subject: [PATCH] Remove var_dump --- tests/Spout/Writer/ODS/WriterTest.php | 11 ----------- tests/Spout/Writer/XLSX/WriterTest.php | 10 ---------- 2 files changed, 21 deletions(-) diff --git a/tests/Spout/Writer/ODS/WriterTest.php b/tests/Spout/Writer/ODS/WriterTest.php index 61c1b9e..a9aaa0e 100644 --- a/tests/Spout/Writer/ODS/WriterTest.php +++ b/tests/Spout/Writer/ODS/WriterTest.php @@ -299,17 +299,6 @@ class WriterTest extends TestCase } $this->assertEquals(',', \localeconv()['decimal_point']); - $cellValue = 1234.5; - var_dump("Cell value before: " . $cellValue); - $cellValue = str_replace( - [\localeconv()['thousands_sep'], \localeconv()['decimal_point']], - ['', '.'], - $cellValue - ); - var_dump("Cell value after: " . $cellValue); - var_dump("Thousands sep: " . \localeconv()['thousands_sep']); - var_dump("Decimal point: " . \localeconv()['decimal_point']); - $fileName = 'test_add_row_should_support_float_values_in_different_locale.xlsx'; $dataRows = $this->createRowsFromValues([ [1234.5], diff --git a/tests/Spout/Writer/XLSX/WriterTest.php b/tests/Spout/Writer/XLSX/WriterTest.php index e2a8e4e..26b3792 100644 --- a/tests/Spout/Writer/XLSX/WriterTest.php +++ b/tests/Spout/Writer/XLSX/WriterTest.php @@ -414,16 +414,6 @@ class WriterTest extends TestCase } $this->assertEquals(',', \localeconv()['decimal_point']); - var_dump("Cell value before: " . $valueToWrite); - $cellValue = str_replace( - [\localeconv()['thousands_sep'], \localeconv()['decimal_point']], - ['', '.'], - $valueToWrite - ); - var_dump("Cell value after: " . $cellValue); - var_dump("Thousands sep: " . \localeconv()['thousands_sep']); - var_dump("Decimal point: " . \localeconv()['decimal_point']); - $fileName = 'test_add_row_should_support_float_values_in_different_locale.xlsx'; $dataRows = $this->createRowsFromValues([ [$valueToWrite],