Make phpStan happy

Created on 31 July 2025, 2 days ago

Problem/Motivation

There are currently three items that phpstan is not happy with in the CI pipeline. It would be good to get those resolved so we don't have to keep seeing them in every MR.

Line src/AiMigrator.php
------ ----------------------------------------------------------------------
66 \Drupal calls should be avoided in classes, use dependency injection
instead
πŸͺͺ globalDrupalDependencyInjection.useDependencyInjection
70 \Drupal calls should be avoided in classes, use dependency injection
instead
πŸͺͺ globalDrupalDependencyInjection.useDependencyInjection
99 \Drupal calls should be avoided in classes, use dependency injection
instead
πŸͺͺ globalDrupalDependencyInjection.useDependencyInjection

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

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

Comments & Activities

Production build 0.71.5 2024