fix: #3614940 Resolve PHPStan findings

Resolves all ten baseline PHPStan findings: replaces deprecated user loaders, replaces deprecated configuration constants with equivalent named scalar values documented for migration to Drupal 11.4 enums after Drupal 9 and 10 support is dropped, and removes obsolete legacy migration integration referencing unavailable APIs.

Validation:

  • All ten baseline PHPStan diagnostics are absent locally.
  • Complete Comment Notify test directory exits successfully locally.
  • PHPStan and the complete MR pipeline pass.

Related to #3594952. Closes #3614940

AI-Generated: Yes (OpenAI Codex inspected CI, implemented the focused changes, and ran local validation. A human will review before merge.)

Edited by David Valdez

Merge request reports

Loading