Nullable types must be explicit

Created on 7 December 2024, 15 days ago

Problem/Motivation

PHP 8.4 has deprecated implicit nullable types.

Steps to reproduce

Use in a PHP 8.4 environment

Proposed resolution

Use explicit nullable types (compatible with PHP 7.1+ so no compatibility concerns given Drupal core PHP minimums)

NOTE: this will almost certainly break backwards compatibility with other modules that extend this given the number of changed function signatures. It may be worthwhile/necessary to create a new major release.

📌 Task
Status

Active

Version

1.0

Component

General code

Created by

🇨🇦Canada nickdickinsonwilde Victoria, BC (T'So-uke lands)

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