From 633b8935f535893a4a1035464aea0fef9b6e856d Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Mon, 7 Jun 2021 12:27:05 +0200 Subject: [PATCH] Put back CodeStyle checks It had been deleted by mistake --- .travis.yml | 2 ++ tests/Spout/Writer/ODS/WriterTest.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 365ee59..8e7ecc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,8 @@ language: php matrix: include: + - php: 7.2 + env: WITH_CS=true - php: 7.2 env: WITH_PHPUNIT=true - php: 7.3 diff --git a/tests/Spout/Writer/ODS/WriterTest.php b/tests/Spout/Writer/ODS/WriterTest.php index a9aaa0e..e23f4e2 100644 --- a/tests/Spout/Writer/ODS/WriterTest.php +++ b/tests/Spout/Writer/ODS/WriterTest.php @@ -306,8 +306,8 @@ class WriterTest extends TestCase $this->writeToODSFile($dataRows, $fileName); - $this->assertValueWasNotWrittenToSheet($fileName, 1, "1234,5"); - $this->assertValueWasWrittenToSheet($fileName, 1, "1234.5"); + $this->assertValueWasNotWrittenToSheet($fileName, 1, '1234,5'); + $this->assertValueWasWrittenToSheet($fileName, 1, '1234.5'); } finally { // reset locale \setlocale(LC_ALL, $previousLocale);