Implicit Nullable Parameters for PHP 8.4 Compatibility

Created on 29 March 2025, 7 days ago

Problem/Motivation

Deprecated function: 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 include()

Deprecated function: Drupal\state_machine\Plugin\Field\FieldType\StateItem::getPossibleOptions(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in include()

Deprecated function: Drupal\state_machine\Plugin\Field\FieldType\StateItem::getSettableValues(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in include()

Deprecated function: Drupal\state_machine\Plugin\Field\FieldType\StateItem::getSettableOptions(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in include(

Steps to reproduce

Drupal 10.4.5
Php 8.4

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India girish_lnweb

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