Add support for PHP 8.2

Created on 20 December 2023, 6 months ago
Updated 21 February 2024, 4 months ago

Problem/Motivation

I tried upgrading our site to Drupal 10.2 and at the same time change to the recommended PHP version 8.2.

I bumped into this error with Composer during the upgrade process

Problem 1
    - laminas/laminas-text 2.9.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2; overridden via config.platform, actual: 8.2.9) does not satisfy that requirement.
    - drupal/upgrade_status 4.0.0 requires mathieuviossat/arraytotexttable ~1.0.0 -> satisfiable by mathieuviossat/arraytotexttable[v1.0.9].
    - mathieuviossat/arraytotexttable v1.0.9 requires laminas/laminas-text ^2.9 -> satisfiable by laminas/laminas-text[2.9.0].
    - drupal/upgrade_status is locked to version 4.0.0 and an update of this package was not requested.

Steps to reproduce

Steps to reproduce in DDEV:
1. Change the .ddev/config.yaml to use PHP 8.2.
2. Try running composer install / update to upgrade your site to Drupal 10.2.

Proposed resolution

Upgrade the dependency mathieuviossat/arraytotexttable to a newer version that would support PHP 8.2 for laminas/laminas-text.

Remaining tasks

User interface changes

API changes

Data model changes

โœจ Feature request
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland HeikkiY Oulu

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

Comments & Activities

Production build 0.69.0 2024