diff options
author | Remi Collet <remi@remirepo.net> | 2024-11-12 06:38:46 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-11-12 06:38:46 +0100 |
commit | 0ebfb390e0dcf9e24e4af9615b883df37d55ab48 (patch) | |
tree | 4e29a1f2a55984d90af6246c7b0f7f0089675c8c /531.patch | |
parent | 98401e5cab507e4014c43e10c729dac0e86b0c6c (diff) |
drop patch merged upstream
open https://github.com/viest/php-ext-xlswriter/issues/537 BC break
Diffstat (limited to '531.patch')
-rw-r--r-- | 531.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/531.patch b/531.patch deleted file mode 100644 index 9ef28fb..0000000 --- a/531.patch +++ /dev/null @@ -1,66 +0,0 @@ -From c8f5a888cb304e8f369ff139964cd923ef3c722b Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Mon, 30 Sep 2024 08:14:43 +0200 -Subject: [PATCH] fetcsv default values are deprecated with 8.4 - ---- - tests/xlsx_to_csv_callback.phpt | 6 +++--- - tests/xlsx_to_csv_callback_custom_delimiter.phpt | 4 ++-- - tests/xlsx_to_csv_custom_delimiter.phpt | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/tests/xlsx_to_csv_callback.phpt b/tests/xlsx_to_csv_callback.phpt -index 81d1bdb..eea603e 100644 ---- a/tests/xlsx_to_csv_callback.phpt -+++ b/tests/xlsx_to_csv_callback.phpt -@@ -30,8 +30,8 @@ var_dump($csvResult); - - $fp = fopen('./tests/file.csv', 'r'); - --var_dump(fgetcsv($fp)); --var_dump(fgetcsv($fp)); -+var_dump(fgetcsv($fp, 1000, ',', '"', '\\')); -+var_dump(fgetcsv($fp, 1000, ',', '"', '\\')); - ?> - --CLEAN-- - <?php -@@ -55,4 +55,4 @@ array(4) { - string(2) "10" - [3]=> - string(10) "10.9999995" --} -\ No newline at end of file -+} -diff --git a/tests/xlsx_to_csv_callback_custom_delimiter.phpt b/tests/xlsx_to_csv_callback_custom_delimiter.phpt -index 2a46550..d02cf22 100644 ---- a/tests/xlsx_to_csv_callback_custom_delimiter.phpt -+++ b/tests/xlsx_to_csv_callback_custom_delimiter.phpt -@@ -30,7 +30,7 @@ if (($csvHandler = fopen('./tests/file.csv', 'r')) === FALSE) { - die('csv file open failure'); - } - --while (($data = fgetcsv($csvHandler, 1000, ';')) !== FALSE) { -+while (($data = fgetcsv($csvHandler, 1000, ';', '"', '\\')) !== FALSE) { - var_dump($data); - } - ?> -@@ -56,4 +56,4 @@ array(4) { - string(2) "10" - [3]=> - string(10) "10.9999995" --} -\ No newline at end of file -+} -diff --git a/tests/xlsx_to_csv_custom_delimiter.phpt b/tests/xlsx_to_csv_custom_delimiter.phpt -index 5fb749c..0e86053 100644 ---- a/tests/xlsx_to_csv_custom_delimiter.phpt -+++ b/tests/xlsx_to_csv_custom_delimiter.phpt -@@ -28,7 +28,7 @@ if (($csvHandler = fopen('./tests/file.csv', 'r')) === FALSE) { - die('csv file open failure'); - } - --while (($data = fgetcsv($csvHandler, 1000, ';')) !== FALSE) { -+while (($data = fgetcsv($csvHandler, 1000, ';', '"', '\\')) !== FALSE) { - var_dump($data); - } - ?> |