Move all code to use constructor property promotions

Created on 15 June 2024, 13 days ago
Updated 16 June 2024, 12 days 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

Comments & Activities

Production build 0.69.0 2024