Add proper typehints to Html::escape and Html::decodeEntities + trigger_error

Created on 26 April 2024, 7 months ago
Updated 27 April 2024, 7 months ago

Problem/Motivation

In core/lib/Drupal/Component/Utility/Html.php we should add typehint of string to escape() and decodeEntities() and throw a trigger_error for error in 12

Steps to reproduce

N/A

Proposed resolution

Same as problem.

Remaining tasks

Do it
Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

๐Ÿ“Œ Task
Status

Closed: outdated

Version

11.0 ๐Ÿ”ฅ

Component
Baseย  โ†’

Last updated about 3 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024