Move all code to use constructor property promotions

Created on 15 June 2024, 6 months ago

Problem/Motivation

Constructor property promotions has been around since PHP 8.0 and since Drupal 10 required PHP 8.1, this can be used for the AI module.

The core has already started moving into using it, so its better practice and should be used, see: https://www.drupal.org/project/drupal/issues/3278431 📌 Use PHP 8 constructor property promotion for existing code Needs work

Proposed resolution

Rewrite all constructors, to use property promotions.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

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