Skip to content

Commit 6fed3a2

Browse files
committed
pass CSV escape characters explicitly
Not passing the $escape parameter is deprecated since PHP 8.4 as the default value will change in the future.
1 parent 1d702ca commit 6fed3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/CsvFileDumper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function formatCatalogue(MessageCatalogue $messages, string $domain, arra
3131
$handle = fopen('php://memory', 'r+');
3232

3333
foreach ($messages->all($domain) as $source => $target) {
34-
fputcsv($handle, [$source, $target], $this->delimiter, $this->enclosure);
34+
fputcsv($handle, [$source, $target], $this->delimiter, $this->enclosure, '\\');
3535
}
3636

3737
rewind($handle);

0 commit comments

Comments
 (0)