PHP 8.4 compatibility issue

Created on 15 August 2025, about 2 months ago

Problem/Motivation

Module is not compatible with php 8.4 and throwing warning on drush cr.

Steps to reproduce

Run drush cr and see this:

PHP Deprecated: Drupal\random_reference_formatter\Controller\RandomEntityController::__construct(): Implicitly marking parameter $renderer as nullable is deprecated, the explicit nullable type must be used instead in random_reference_formatter/src/Controller/RandomEntityController.php on line 19

Proposed resolution

Fix PHP code for 8.4 compatibility

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel korte Brooklyn, NY

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