Skip to content

composer.json: "abandoned": "ignore" silently masks warnings about abandoned packages #163

@s2x

Description

@s2x

Problem

composer.json has "abandoned": "ignore" in the config section, which silently suppresses Composer warnings about abandoned packages. This means if a dependency is abandoned (no longer maintained, potentially with known security issues), the development team will not be notified during composer install or composer update.

Location

  • composer.json, lines 64–65

Current Code

{
    "config": {
        "audit": {
            "abandoned": "ignore"
        }
    }
}

Proposed Fix

Change to "report" to receive warnings without blocking the install:

{
    "config": {
        "audit": {
            "abandoned": "report"
        }
    }
}

Or remove the setting entirely to use Composer's default behavior (which is to report).

Priority

🟡 MEDIUM — masks potentially important dependency health warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-qualityCode quality improvementsmediumMedium priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions