Fix code quality issues

Created on 22 April 2025, about 1 month ago

The merge request pipeline raises warnings because of 3 usages of \Drupal inside classes that should preferably use dependency injection. An example can be found here: https://git.drupalcode.org/issue/paragraph_blocks-3500266/-/pipelines/39...

The \Drupal::service('content_moderation.moderation_info') calls are due to the content moderation module being an optional install. This can be worked around with additional params on the __create() method. The UUID service should just be dependency injected.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇳🇱Netherlands basvredeling Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024