PHP 8.4 nullable is deprecated warning

Created on 9 July 2025, 11 days ago

Problem/Motivation

Module is not compatible with php 8.4

Steps to reproduce

Throws warnings on drush cr

PHP Deprecated: Drupal\tmgmt\Entity\Job::isAuthor(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/tmgmt/src/Entity/Job.php on line 584

Deprecated: Drupal\tmgmt\Entity\Job::isAuthor(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/tmgmt/src/Entity/Job.php on line 584
PHP Deprecated: Drupal\tmgmt\JobInterface::isAuthor(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/tmgmt/src/JobInterface.php on line 394

Deprecated: Drupal\tmgmt\JobInterface::isAuthor(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/tmgmt/src/JobInterface.php on line 394

Proposed resolution

Fix php code and make it compatible

Remaining tasks

Merge PR and make the new release.

💬 Support request
Status

Active

Version

1.17

Component

Miscellaneous

Created by

🇮🇳India nehajyoti

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