From b7dd11b592d122a74870131e3c782174503c674b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Wed, 19 Mar 2025 14:40:51 +0100 Subject: [PATCH] Fix deprecation warning on PHP 8.4 --- lib/php/FilesToJSON.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/FilesToJSON.php b/lib/php/FilesToJSON.php index 6ebef0c..ed37a7b 100644 --- a/lib/php/FilesToJSON.php +++ b/lib/php/FilesToJSON.php @@ -260,7 +260,7 @@ private function convertIftypeFile(): void $iftypeFile = $this->getSourceFile(self::TYPE_IFTYPE); $iftypes = []; - while ($line = fgetcsv($iftypeFile)) { + while ($line = fgetcsv($iftypeFile, 0, ',', '"', '')) { $iftypes[] = [ 'decimal' => $line[0], 'name' => $line[1],