FormElement is deprecated in Drupal 10.3

Created on 18 March 2025, 20 days ago

Problem/Motivation

phpstan reports,

Class Drupal\address\Element\Address extends deprecated class Drupal\Core\Render\Element\FormElement:
in drupal:10.3.0 and is removed from drupal:12.0.0. use
\Drupal\Core\Render\Element\FormElementBase instead

and the same for Country, Zone, and ZoneTerritory.

Steps to reproduce

`phpstan analyse address`

Proposed resolution

use FormElementBase instead.

Remaining tasks

make an MR

πŸ“Œ Task
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

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

Comments & Activities

Production build 0.71.5 2024