[PHP8.2] Deprecated code in the module migrate_plus

Created on 30 November 2023, 7 months ago
Updated 2 December 2023, 7 months ago

Problem/Motivation

- I was doing some migration tests on a WxT 5.0.x-dev instance running on PHP 8.2 and I've got this small deprecation warning:

modules/contrib/migrate_plus/src/Plugin/migrate_plus/data_parser/Json.php	42	Call to deprecated function utf8_encode().

Steps to reproduce

- Run a migration task on a PHP 8.2 instance, or install the "Upgrade Status" module and do a scan against the migration_plus module

Proposed resolution

- I already submitted a patch for this in the project page: https://www.drupal.org/project/migrate_plus/issues/3404491 πŸ› [PHP 8.2] Call to deprecated function utf8_encode() at ./src/Plugin/migrate_plus/data_parser/Json.php Line 42 Fixed

The latest DEV release has this patch: https://www.drupal.org/project/migrate_plus/releases/6.0.x-dev β†’

Or we can use the patch (to be included in the WxT composer.json file): https://www.drupal.org/files/issues/2023-11-27/migrate-plus-php82-warnin... β†’

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada danrod

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

Comments & Activities

Production build 0.69.0 2024