Fix str_getcsv() usage for PHP 8.4

Created on 27 September 2024, 3 months ago

Problem/Motivation

The str_getcsv() now throwing derecation in Mail.php and SymfonyMail.php
https://github.com/php/php-src/pull/15365

. The str_getcsv() function now throws ValueErrors when the $separator and
$enclosure arguments are not one byte long, or if the $escape is not one
byte long or the empty string. This aligns the behaviour to be identical
to that of fputcsv() and fgetcsv().

Steps to reproduce

See https://git.drupalcode.org/issue/drupal-3427903/-/jobs/2855553

Run tests using PHP 8.4

Proposed resolution

Add missing arguments

Remaining tasks

- agree on fix
- commit

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

mail system

Created by

🇫🇷France andypost

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024