PHP 8.4 deprecation: Implicitly marking parameter as nullable

Created on 3 July 2025, 7 days ago

Problem/Motivation

Drupal 11.1 is compatible with PHP 8.4 but the Consumers module currently triggers a deprecation warning:

Deprecated: Drupal\consumers\Negotiator::negotiateFromRequest(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /opt/drupal/web/modules/consumers/src/Negotiator.php on line 112
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

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

Comments & Activities

Production build 0.71.5 2024