Skip to content

Commit 8d5e50c

Browse files
Merge branch '7.0' into 7.1
* 7.0: [Console][PhpUnitBridge][VarDumper] Fix `NO_COLOR` empty value handling [Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4 [DoctrineBridge] fix messenger bus dispatch inside an active transaction [HttpFoundation] Add tests for uncovered sections treat uninitialized properties referenced by property paths as null properly set up constraint options [ErrorHandler][VarDumper] Remove PHP 8.4 deprecations move adding detailed JSON error messages to the validate phase [Profiler] Add word wrap in tables in dialog to see all the text [Core] Fix & Enhance security arabic translation. [HttpFoundation] Add tests for `MethodRequestMatcher` and `SchemeRequestMatcher`
2 parents cf5ae13 + 480fc1b commit 8d5e50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Loader/CsvFileLoader.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CsvFileLoader extends FileLoader
2222
{
2323
private string $delimiter = ';';
2424
private string $enclosure = '"';
25-
private string $escape = '\\';
25+
private string $escape = '';
2626

2727
protected function loadResource(string $resource): array
2828
{
@@ -53,7 +53,7 @@ protected function loadResource(string $resource): array
5353
/**
5454
* Sets the delimiter, enclosure, and escape character for CSV.
5555
*/
56-
public function setCsvControl(string $delimiter = ';', string $enclosure = '"', string $escape = '\\'): void
56+
public function setCsvControl(string $delimiter = ';', string $enclosure = '"', string $escape = ''): void
5757
{
5858
$this->delimiter = $delimiter;
5959
$this->enclosure = $enclosure;

0 commit comments

Comments
 (0)