PHP-Antimalware-Scanner
PHP-Antimalware-Scanner copied to clipboard
run as composer dependency issue
vendor/marcocesarato/amwscan/src/Scanner.php:891 syntax error, unexpected token "::", expecting "("
PHP 7.4.15
Hi,
I tried and probably the version associated to the version on packagist/composer is compromised so I will try to fix it.
At the moment as temporary fix you can use this on your composer.json:
{
"require": {
"marcocesarato/amwscan": "dev-master"
}
}
and run
composer install --no-cache