Fix PHP 8.4 deprecations

Created on 9 September 2025, 13 days ago

Problem/Motivation

Fix implicit nullables across the board, e.g

Deprecated: Drupal\tfa\Form\TfaOverviewForm::buildForm(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /data/app/modules/contrib/tfa/src/Form/TfaOverviewForm.php on line 108 and friends

Steps to reproduce

Go to TFA form on PHP 8.4

Proposed resolution

Fix it

Remaining tasks

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia acbramley

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024