Some files does not implement dependency injection in code and is using static call to classes. As it is best practice to use dependency injection to use DI in files like controller and forms or where it can be used.

CommentFileSizeAuthor
#2 dependency-issue-3065862-2.patch3.15 KBsarathkm

Comments

sarathkm created an issue. See original summary.

sarathkm’s picture

Assigned: sarathkm » Unassigned
Status: Active » Needs review
StatusFileSize
new3.15 KB

Patch implementing DI.

armrus’s picture

Category: Bug report » Task

Hi. Thx for issue and patch. We will test it in the next few days.
I move issue from bug report to task.

alphin’s picture

Status: Needs review » Reviewed & tested by the community

This patch working fine.