- Issue created by @ryankolsen
PHP 8.4 has deprecated implicit nullable types, causing deprecation warnings in the change_pwd_page module. These warnings need to be addressed to ensure compatibility with future PHP versions and to maintain clean error logs.
PHP Deprecated: Drupal\change_pwd_page\Form\ChangePasswordForm::buildForm(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /app/web/modules/contrib/change_pwd_page/src/Form/ChangePasswordForm.php on line 68
PHP Deprecated: Drupal\config_ignore\Form\IgnoreSettingsForm::buildForm(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /app/web/modules/contrib/config_ignore/src/Form/IgnoreSettingsForm.php on line 36
Update the method signature in ChangePasswordForm.php and IgnoreSettingsForm to explicitly declare parameters as nullable.
None
Minor change to method signature, but should not affect external API usage.
None. This change does not affect the data model.
Active
2.0
Code