Create ScannerBase, FixerBase that implement ContainerFactoryPluginInterface

Created on 27 August 2025, 18 days ago

Problem/Motivation

It's fairly likely that Scanners and Fixers will need dependency injection through ContainerFactoryPluginInterface.

But implementing ContainerFactoryPluginInterface adds a bunch of boilerplate for the $configuration, $pluginId, and $pluginDefinition class properties.

Proposed resolution

If we created an abstract ScannerBase class, and an abstract FixerBase class with that boilerplate, it would reduce the workload for the common use cases.

Remaining tasks

  1. Write a patch
  2. Review and feedback
  3. RTBC and feedback
  4. Commit

User interface changes

None.

API changes

API additions only.

Data model changes

None.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada mparker17 UTC-4

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