30 lines
780 B
Plaintext
30 lines
780 B
Plaintext
--TEST--
|
|
Suggestions are not displayed for packages if they are replaced
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" }, "require": { "c/c": "*" } },
|
|
{ "name": "c/c", "version": "1.0.0", "replace": { "b/b": "1.0.0" } }
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/a": "1.0.0",
|
|
"b/b": "1.0.0"
|
|
}
|
|
}
|
|
--RUN--
|
|
install
|
|
--EXPECT-OUTPUT--
|
|
<info>Loading composer repositories with package information</info>
|
|
<info>Installing dependencies (including require-dev)</info>
|
|
<info>Writing lock file</info>
|
|
<info>Generating autoload files</info>
|
|
|
|
--EXPECT--
|
|
Installing c/c (1.0.0)
|
|
Installing a/a (1.0.0)
|