inject dependencies into JobSchedulerQueue

Created on 12 May 2025, 7 days ago

Problem/Motivation

phpstan reports, among other things,

------ ------------------------------------------------------------------------------
Line src/Plugin/QueueWorker/JobSchedulerQueue.php
------ ------------------------------------------------------------------------------
43 \Drupal calls should be avoided in classes, use dependency injection instead
44 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------

Steps to reproduce

phpstan analyse -l0 job_scheduler

Proposed resolution

Implement ContainerFactoryPluginInterface.

Remaining tasks

make an MR

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

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