Dependency injection should be used in ProtectedPagesSubscriber.

Comments

nkoporec created an issue. See original summary.

nkoporec’s picture

Assigned: nkoporec » Unassigned
Status: Active » Needs review
StatusFileSize
new7.23 KB

Created a patch, to use dependency injection in the event subscriber.

useernamee’s picture

Status: Needs review » Reviewed & tested by the community

I have tested this patch. It applies nicely and it works. I think that all the static calls that could be removed have been.

oksana-c’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
Status: Reviewed & tested by the community » Needs work
oksana-c’s picture

StatusFileSize
new6.92 KB

  • oksana-c committed 3ea8365 on 8.x-1.x
    Issue #2956008 by nkoporec, oksana-c, useernamee: Dependency Injection...
oksana-c’s picture

Status: Needs work » Fixed
chris matthews’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.