Closed (fixed)
Project:
ClamAV
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2023 at 21:33 UTC
Updated:
25 Jan 2025 at 04:24 UTC
Jump to comment: Most recent
I was adding the clamav service to a custom module with dependency injection and noticed the ScannerInterface class isn't implemented by the Scanner class. So my service inject failed.
Try to use clamav service with dependency injection.
Mark the class as implementing that interface.
None
Scanner will be an implementation of ScannerInterface
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
minoroffense commentedComment #4
solideogloria commentedI have a couple small things to add, such as
{@inheritdoc}. I ran out of time to commit it, but I'll try to get it in on Monday.Comment #5
solideogloria commentedComment #6
solideogloria commentedComment #7
solideogloria commentedAdding related issue, because there might be merge conflicts.
Comment #8
jannakha commentedtested and works as required
Comment #11
vladimirausThank you for your contribution. 🍻