Fix https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_proprietary_csv_escaping_mechanism

Created on 27 September 2024, 3 months ago

Problem/Motivation

https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_proprietary_csv_...

Steps to reproduce

Run test using PHP 8.4

1 test triggered 2 PHP deprecations:
1)
/builds/issue/drupal-3427903/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php:187
fgetcsv(): the $escape parameter must be provided as its default value will
change
Triggered by:
*
Drupal\FunctionalTests\Asset\AssetOptimizationTestUmami::testAssetAggregation
(18 times)
 
/builds/issue/drupal-3427903/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php:37
2)
/builds/issue/drupal-3427903/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php:189
fgetcsv(): the $escape parameter must be provided as its default value will
change
Triggered by:
*
Drupal\FunctionalTests\Asset\AssetOptimizationTestUmami::testAssetAggregation
(172 times)
 
/builds/issue/drupal-3427903/core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php:37
OK, but there were issues!
Tests: 1, Assertions: 213, Deprecations: 2.

Proposed resolution

fix usage to not throw deprecation

Remaining tasks

- review
- commit

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base 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