Use autowiring and PHP 8 constructor property promotion

Created on 2 July 2024, 10 months ago
Updated 18 July 2024, 9 months ago

Problem/Motivation

Drupal Core supports autowiring for services, see https://www.drupal.org/node/3323122
Drupal Core uses PHP 8 constructor property promotion to reduce boilerplate code

Proposed resolution

Use autowiring and PHP 8 constructor property promotion

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands idebr

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