Skip to content

Commit 4bb3f80

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 454027e commit 4bb3f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/bin/sync-iban-formats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function readPropertiesFromRegistry(array $properties): array
129129
array_shift($lines);
130130

131131
foreach ($lines as $line) {
132-
$columns = str_getcsv($line, "\t");
132+
$columns = str_getcsv($line, "\t", '"', '\\');
133133
$propertyLabel = array_shift($columns);
134134

135135
if (!isset($properties[$propertyLabel])) {

0 commit comments

Comments
 (0)