Fix deprecations for PHP 8.4

Created on 1 December 2024, 21 days ago

Problem/Motivation

PHP 8.4 was released a week ago and is flagging a couple deprecations in this module, for example:

Deprecated: Drupal\job_scheduler\JobScheduler::rebuild(): Implicitly marking parameter $info as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/job_scheduler/src/JobScheduler.php on line 283
PHP Deprecated:  Drupal\job_scheduler\JobSchedulerInterface::rebuild(): Implicitly marking parameter $info as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/job_scheduler/src/JobSchedulerInterface.php on line 163

Addressing these is now part of the Drupal coding standards.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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