PHP 8.4 nullable is deprecated warning

Created on 11 July 2025, 22 days ago

Problem/Motivation

3.0 version of Module is not compatible with php 8.4

Steps to reproduce

Throws warnings on drush cr

PHP Deprecated: Drupal\acquia_search\EventSubscriber\SearchSubscriber::__construct(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/acquia_search/src/EventSubscriber/SearchSubscriber.php on line 94

Deprecated: Drupal\acquia_search\EventSubscriber\SearchSubscriber::__construct(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/acquia_search/src/EventSubscriber/SearchSubscriber.php on line 94

Proposed resolution

Fix php code and make it compatible

Remaining tasks

Merge PR and make the new release.

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India nehajyoti

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

Comments & Activities

Production build 0.71.5 2024