Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293332

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

$
0
0

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.

Proposed resolution

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

PHP 8.0 is feature frozen and the first beta is out, see https://www.php.net/archive/2020.php#2020-08-06-3

Dependency updates to support PHP 8

Fixed

Drupal issues that can be addressed in Drupal 8 & 9 today

I think all of the above issue can proceed without worrying about the how and if vendor support works for PHP 8 since the changes are all PHP 7 compatible. And hopefully we can keep the changes PHP 7.0 compatible to make things easy for Drupal 8.

Drupal issues that need a largely working PHP 8 build to test

  • #3156887: Add support for \GdImage objects

    I think this issue will be okay for PHP 7.0 because it's really only loosening what we expect in \Drupal\system\Plugin\ImageToolkit\GDToolkit::$resource but testing this will be harder without all the above fixes and the fixes to vendor.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>