Fix deprecation notice League/csv for createFromStream and createFromPath replaced by new from() method

This commit is contained in:
2025-10-27 13:21:04 +01:00
parent 01889ac671
commit f42bb498e4
15 changed files with 18 additions and 18 deletions

View File

@@ -47,7 +47,7 @@ class PostalCodeFRFromOpenData
fseek($tmpfile, 0);
$csv = Reader::createFromStream($tmpfile);
$csv = Reader::from($tmpfile);
$csv->setDelimiter(',');
$csv->setHeaderOffset(0);