--TEST-- Abandoned packages are flagged --COMPOSER-- { "repositories": [ { "type": "package", "package": [ { "name": "a/a", "version": "1.0.0", "abandoned": true } ] }, { "type": "package", "package": [ { "name": "c/c", "version": "1.0.0", "abandoned": "b/b" } ] } ], "require": { "a/a": "1.0.0", "c/c": "1.0.0" } } --RUN-- install --EXPECT-OUTPUT-- Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 0 removals Package a/a is abandoned, you should avoid using it. No replacement was suggested. Package c/c is abandoned, you should avoid using it. Use b/b instead. Writing lock file Generating autoload files --EXPECT-- Installing a/a (1.0.0) Installing c/c (1.0.0)