Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignored components from component-ignore-list are being logged as "already registered" #56

Open
boesing opened this issue Jul 6, 2022 · 0 comments
Labels
Bug Something isn't working

Comments

@boesing
Copy link
Member

boesing commented Jul 6, 2022

Bug Report

Q A
Version(s) 3.0.0

Summary

So the feature works, just the CLI output is incorrect as it is not already registered.

Current behavior

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

How to reproduce

Require a component via composer require but have that component ignored by the composer.extra entry:

{
     "extra": {
         "laminas": {
             "component-ignore-list": ["vendor/component-name"]
         }
     }
}

Expected behavior

Instead of writing Package is already registered; skipping to the CLI output, I'd expect something like Package is ignored by project configuration; skipping.

@boesing boesing added the Bug Something isn't working label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant