Fix phpstan warnings about "\Drupal calls should be avoided in classes"

Created on 25 June 2024, 6 months ago
Updated 13 July 2024, 6 months ago

There are two instances of \Drupal calls should be avoided in classes, one in DatetimeRangeWidget and one in DatetimeWidget.

To fix this and reduce duplication of code, I will be refactoring these widgets and adding a base class for the injection.

There's also one instance of Missing cache backend declaration for performance. in FormWidgetManager.

That simply needs the cache backend declared.

πŸ“Œ Task
Status

Fixed

Version

2.1

Component

UI components

Created by

πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

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