Drush error when running clamav:scan-files

Created on 9 April 2025, about 1 month ago

Problem/Motivation

Could not instantiate Drupal\clamav\Drush\Commands\ClamavCommand: Too few arguments to function Drupal\Clamav\Drush\Commands\ClamavCommand::__construct(), 0 passed in /var/www/html/vendor/drush/drush/src/Runtime/ServiceManager.php on line 333 and exactly 3 expected

Steps to reproduce

Run this command using Drush 12.5.3:

drush clamav:scan-files -vvv

Proposed resolution

Update the module to use autowire instead of drush.services.yml

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States john.oltman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024