Skip to content

Commit 93df9fe

Browse files
committed
Update
1 parent 21cff61 commit 93df9fe

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
### Change
77
- Upgrade Web Components version to v5.2.1
8+
- Remove deprecation for fputcsv()
89

910
## [v7.2.2] - 2026.04.17
1011
### Fix

docs/assets/feature-settings.png

10.2 KB
Loading

src/Export/Stream/ConsoleOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function addEntity(array $entity): void
2323
{
2424
$this->fileResource = $this->fileResource ?? new File('php://output', 'w');
2525
ob_start();
26-
$this->fileResource->fputcsv($entity, $this->delimiter);
26+
$this->fileResource->fputcsv($entity, $this->delimiter, '"', '\\');
2727
$this->output->writeln(rtrim(ob_get_clean()));
2828
}
2929
}

src/Export/Stream/CsvFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ public function __construct($fileResource, string $delimiter = ';')
2323

2424
public function addEntity(array $entity): void
2525
{
26-
fputcsv($this->fileResource, $entity, $this->delimiter);
26+
fputcsv($this->fileResource, $entity, $this->delimiter, '"', '\\');
2727
}
2828
}

0 commit comments

Comments
 (0)