inject dependency in ThemeNegotiator

Created on 6 May 2025, 13 days ago

Problem/Motivation

phpstan reports,
------ ------------------------------------------------------------------------------
Line src/Theme/ThemeNegotiator.php
------ ------------------------------------------------------------------------------
70 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------

Steps to reproduce

phpstan analyse -l0 gin_login

Proposed resolution

add the dependency to services.yml and __construct()

Remaining tasks

make an MR

πŸ“Œ Task
Status

Active

Version

2.1

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