Problem/Motivation

In the fieldset twig template, the disabled_attr is either 'disabled' or null. Then setAttribute is called with disabled_attr as both the name and the value. This leads to using null as an array index in the core Attribute. This raises a deprecation warning under php 8.5

Proposed resolution

Instead of calling setAttribute(NULL, NULL), conditionally call setAttribute only when the fieldset is disabled.

Issue fork radix-3611523

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

danchadwick created an issue. See original summary.

doxigo made their first commit to this issue’s fork.

doxigo’s picture

Status: Active » Fixed

Thanks for the MR, merged

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.