fix: #3615796 Resolve the PHPStan findings raised by the updated analyzers (3.1.x)

Issue: https://www.drupal.org/project/varbase_components/issues/3615796

Resolves the PHPStan findings the updated phpstan-drupal analyzers raise on 3.1.x — pre-existing code, modernized to the current core APIs. Files: src/EventSubscriber/ActiveThemeChangeSubscriber.php.

PHP lint clean. Unblocks the currently red phpstan job on the branch pipelines and the open Varbase E2E switch MRs.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading