composer-audit icon indicating copy to clipboard operation
composer-audit copied to clipboard

Audit command fails if polyfill packages not loaded

Open cs278 opened this issue 4 years ago • 0 comments

https://github.com/composer/composer/issues/10024

I've attempted to workaround this with #15 but it fails if the plugin is installed globally and the polyfill package is not required by the package you are scanning:

export COMPOSER_HOME=$(mktemp -d)
composer global require cs278/composer-audit:@rc
cd $(mktemp -d)
composer require --no-install cs278/mktemp
composer audit -vvv

cs278 avatar Jul 27 '21 16:07 cs278