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

[META] Make Drupal 10/11 compatible with PHP 8.4

$
0
0

Problem/Motivation

PHP 8.4 alpha1 released at July 6, 2024, feature freeze and first beta at Aug 15 2024, stable is expected November 21, 2024.
Release schedule is https://wiki.php.net/todo/php84
Release cycle change https://wiki.php.net/rfc/release_cycle_update

Proposed resolution

General deprecations RFC https://wiki.php.net/rfc/deprecations_php_8_4

- Deprecate passing E_USER_ERROR to trigger_error() - #3465827: Stop passing E_USER_ERROR to trigger_error() on PHP 8.4
- Remove E_STRICT error level and deprecate E_STRICT constant - #3465826: Remove deprecated in PHP 8.4 the \E_STRICT usage

Open child issues as needed.

Deprecations in dependencies

- justinrainbow/json-schema fixed via 5.3.0 wait for composer 2.7.8 (using snapshot for now)
- guzzle fixed guzzle, promises, psr - waiting for 7.8.2 release
- https://github.com/open-telemetry/opentelemetry-php/pull/1297commit

- https://github.com/reactphp/promise/pull/259
- https://github.com/phpspec/prophecy/issues/624 and PR
- https://github.com/bovigo/vfsStream/issues/289 and PR
- https://github.com/minkphp/Mink/pull/869

Remaining tasks

- #3414933: [PHP 8.4] Use DOMDocument HTML5 support when available
- Get CI environment TBD
- track progress of changes in upcoming releases

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 296553

Trending Articles



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