Skip to content

Commit d1fca0d

Browse files
committed
PHPCS fixes
1 parent d0f641d commit d1fca0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/CsvWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function rowToStr(array $row)
147147
$columnValue = ($column === false) ? '0' : ($column ?? '');
148148

149149
$escapedColumn = str_replace($enclosure, $escapedEnclosure, $columnValue);
150-
$return[] = sprintf("%s%s%s", $enclosure, $escapedColumn, $enclosure);
150+
$return[] = sprintf('%s%s%s', $enclosure, $escapedColumn, $enclosure);
151151
}
152152
return implode($this->getDelimiter(), $return) . $this->lineBreak;
153153
}

tests/CsvWriteTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public function testWrite()
6363
3, null,
6464
],
6565
[
66-
'true', 1.123
66+
'true', 1.123,
6767
],
6868
[
69-
'1', 'null'
70-
]
69+
'1', 'null',
70+
],
7171
];
7272

7373
foreach ($rows as $row) {

0 commit comments

Comments
 (0)