[META] Make Drupal 9/10 compatible with PHP 8.2

Created on 31 May 2022, about 2 years ago
Updated 15 February 2023, over 1 year ago

Problem/Motivation

PHP 8.2 is due 24 November 2022 as per https://github.com/php/php-src/milestone/4. Alpha versions are expected soon. Drupal core must be compatible with it in 9.5 and 10.0 as much as possible.
The release schedule is https://wiki.php.net/todo/php82 - at July 21 is beta1 with frozen API version should be available.
Starting with September 1 final polishing went to Release Candidate phase

Steps to reproduce

Compile PHP 8.2 locally and run a site to reproduce any errors. Once alpha releases become available, this will become easier.

Proposed resolution

See child issues.

When PHP 8.2 is available as a reasonable pre-release to begin testing with, 'un-postpone' this DrupalCI issue to create the environment:
#3283449: Create a DrupalCI Environment for PHP 8.2 β†’

Remaining tasks

The must have list is:

The could have list is

See if we need more child issues. Fix the child issues.

User interface changes

N/A

API changes

See child issues.

Data model changes

N/A

Release notes snippet

TBD

🌱 Plan
Status

Fixed

Version

10.1 ✨

Component
OtherΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024