Skip to content

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

@boesing

Description

@boesing

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions