PHP 8.4 implicit type deprecations

Created on 16 September 2025, 27 days ago

Problem/Motivation

Hello,

currently when using php 8.4 after each and every drush cr I get deprecation warnings:

Drupal\user_registrationpassword\Plugin\rest\resource\RegistrationPasswordResource::post(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/user_registrationpassword/src/Plugin/rest/resource/RegistrationPasswordResource.php on line 112
PHP Deprecated:  Drupal\user_registrationpassword\Plugin\rest\resource\RegistrationPasswordResource::ensureAccountCanRegister(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/user_registrationpassword/src/Plugin/rest/resource/RegistrationPasswordResource.php on line 134

Thank you

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

🇮🇹Italy trickfun

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024