PHP 8.4: Implicitly marking parameter as nullable is deprecated

Created on 11 February 2025, 4 months ago

Problem/Motivation

PHP Deprecated: Drupal\state_machine\Plugin\Field\FieldType\StateItem::getPossibleValues(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/backend/web/modules/contrib/state_machine/src/Plugin/Field/FieldType/StateItem.php on line 178

Steps to reproduce

run PHP 8.4

Proposed resolution

added nullable operator

Remaining tasks

Review MR.

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria klausi 🇦🇹 Vienna

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