[meta] Ensure compatibility of Drupal 9 with PHP 8.0 (as it evolves)

Created on 29 January 2020, almost 5 years ago
Updated 7 June 2023, over 1 year ago

Problem/Motivation

Make sure Drupal keeps being compatible with PHP 8. Work with dependencies as needed. See #3086374: Make Drupal 8 & 9 compatible with PHP 7.4 for how we did it with PHP 7.4. PHP 8.0 is now released, see https://www.php.net/archive/2020.php#2020-11-26-3

Proposed resolution

The following task list has been determined by testing on #3156595: Make Drupal 9 installable on PHP8 .

1. Dependency updates to support PHP 8

To produce a list of dependencies that are blocking PHP 8 support, you can do the following. Make sure you use PHP 7.4+ to run it.

$ git clone --branch 9.1.x https://git.drupalcode.org/project/drupal.git whynotphp8
$ cd whynotphp8/
$ composer install
$ composer update
$ composer why-not php:8

NONE!

2. Internal Drupal issues

NONE!

DONE

Remaining tasks

See above.

User interface changes

None.

API changes

Data model changes

None.

Release notes snippet

🌱 Plan
Status

Fixed

Version

9.1

Component
Base 

Last updated about 2 hours ago

Created by

🇭🇺Hungary Gábor Hojtsy Hungary

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

    The issue particularly affects sites running on PHP version 8.0.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