[META] Make Drupal 7 compatible with PHP 8.2

Created on 19 August 2022, over 2 years ago
Updated 4 October 2023, over 1 year ago

Problem/Motivation

Make sure Drupal 7 becomes compatible with PHP 8.2 (release date 24 November 2022 - https://wiki.php.net/todo/php82). There should be quite a lot of issues related mostly to the deprecation of dynamic properties: https://wiki.php.net/rfc/deprecate_dynamic_properties.

See 🌱 [META] Make Drupal 7 core compatible with PHP 8.1 Fixed for how we did it with PHP 8.1.

According to the previous comments and the fact that the D7 EOL was postponed, I think we should support PHP 8.2 in D7. See: #3224299-6: [META] Make Drupal 7 core compatible with PHP 8.1 β†’

re. #4, yes D7 End of Life is November 2022, but after that there will be D7 Extended Support:

https://www.drupal.org/project/d7es β†’

I believe that's due to run another 3 years until November 2025, which is beyond when any current version of PHP is due to be supported (directly by the upstream developers at least).

For the reference, here is the D9/10 issue: 🌱 [META] Make Drupal 9/10 compatible with PHP 8.2 Fixed .

Steps to reproduce

Run tests with PHP 8.2.

Proposed resolution

Make tests pass and fix all child issues.

Remaining tasks

See child issues.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

TBD

🌱 Plan
Status

Fixed

Version

7.0 ⚰️

Component
OtherΒ  β†’

Last updated about 23 hours ago

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

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.71.5 2024