Open boesing opened 2 years ago
So the feature works, just the CLI output is incorrect as it is not already registered.
Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing whatever/excluded-component (dev-master 59966a6): Extracting archive Installing NamespaceFromModule from package whatever/excluded-component Package is already registered; skipping
Require a component via composer require but have that component ignored by the composer.extra entry:
composer require
composer.extra
{ "extra": { "laminas": { "component-ignore-list": ["vendor/component-name"] } } }
Instead of writing Package is already registered; skipping to the CLI output, I'd expect something like Package is ignored by project configuration; skipping.
Package is already registered; skipping
Package is ignored by project configuration; skipping
Bug Report
Summary
So the feature works, just the CLI output is incorrect as it is not already registered.
Current behavior
How to reproduce
Require a component via
composer require
but have that component ignored by thecomposer.extra
entry:Expected behavior
Instead of writing
Package is already registered; skipping
to the CLI output, I'd expect something likePackage is ignored by project configuration; skipping
.