Fix Gitlab CI PHPStan errors

Created on 30 October 2023, about 1 year ago
Updated 12 November 2023, about 1 year ago

Problem/Motivation

GitLab CI is being used to test this module. To see the results, find the 2.0.x-dev Development version on the project page, and click on "View all pipelines" to see the results.

The only pipeline that now has warnings is PHPStan. There remaining error is this, spread out over seven files:

  1. \Drupal calls should be avoided in classes, use dependency injection instead

These should be fixed, but this should not stop 2.0.x-dev from working as intended. I'm keeping this issue "Active" until these are fixed as well.

Proposed resolution

Ad merge requests (MRs) to fix all or some of these errors and warnings. MRs are tested upon submission, so we shall be able to see the result immediately. Do not submit patches.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇳🇴Norway gisle Norway

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

Comments & Activities

Production build 0.71.5 2024