PHP 8.4 compatibility

Created on 8 January 2025, 3 months ago

Problem/Motivation

Deprecated: Drupal\key_auth\Form\UserKeyAuthForm::buildForm(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/key_auth/src/Form/UserKeyAuthForm.php on line 69

Steps to reproduce

Use PHP 8.4 and clear the cache

Proposed resolution

  public function buildForm(array $form, FormStateInterface $form_state, ?UserInterface $user = NULL) {

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

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