PHP 8.4 compatibility improved

Created on 5 June 2025, 2 days ago

Problem/Motivation

There is a lot of "Deprecated: XXX(): Implicitly marking parameter $xxx as nullable is deprecated, the explicit nullable type must be used instead in xxx_file.php on line xxx" warnings after cache reset under Drupal 11 and php 8.4.

Proposed resolution

Use nullable types for such parameters. Available since PHP 7.1 so no worries about backwards compatibility.

📌 Task
Status

Active

Version

3.35

Component

Code

Created by

🇧🇾Belarus f1mishutka Minsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024