PHP-Antimalware-Scanner icon indicating copy to clipboard operation
PHP-Antimalware-Scanner copied to clipboard

run as composer dependency issue

Open code2prog opened this issue 4 years ago • 1 comments

vendor/marcocesarato/amwscan/src/Scanner.php:891 syntax error, unexpected token "::", expecting "("

PHP 7.4.15

code2prog avatar Feb 26 '21 07:02 code2prog

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

marcocesarato avatar Feb 26 '21 16:02 marcocesarato