#105155Explicitly provide all `str_getcsv()` arguments
Description
PHP 8.4.0 RC1 emits E_DEPRECATED when the fourth paramater
@$escape@ is not explicitly set and the default value used
for str_getcsv().
See: https://github.com/php/php-src/blob/ebee8df27edf7ecfbdc7ff87662f2f0d30859120/UPGRADING#L617-L622
Using the default value for $escape parameter of: - fputcsv() - fgetcsv() - str_getcsv() is now deprecated. It must be passed explicitly either positionally or via named arguments. RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_proprietary_csv_escaping_mechanism
[1] https://github.com/php/php-src/pull/15569
2 https://github.com/php/php-src/blob/ebee8df27ed/UPGRADING#L617-L622
Reviews 7
- 13.3 86456[TASK] Mitigate `PHP 8.4.0-RC1` breaking changes
- main 86371[TASK] Mitigate `PHP 8.4.0-RC1` breaking changes
- 11.5 86384[TASK] Remove E_STRICT_DEPRECATED constant
- 12.4 86383[TASK] Remove E_STRICT_DEPRECATED constant
- main 86382[TASK] Remove E_STRICT_DEPRECATED constant
- 11.5 86377[TASK] Mitigate `PHP 8.4.0-RC1` breaking changes
- 12.4 86376[TASK] Mitigate `PHP 8.4.0-RC1` breaking changes