2012-09-05 18:39:45 +00:00
|
|
|
--TEST--
|
2012-09-05 20:56:59 +00:00
|
|
|
Suggestions are not displayed for packages if they are replaced
|
2012-09-05 18:39:45 +00:00
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } },
|
|
|
|
{ "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>
|
2014-04-07 09:10:57 +00:00
|
|
|
<info>Installing dependencies (including require-dev)</info>
|
2012-09-05 18:39:45 +00:00
|
|
|
<info>Writing lock file</info>
|
|
|
|
<info>Generating autoload files</info>
|
|
|
|
|
|
|
|
--EXPECT--
|
|
|
|
Installing a/a (1.0.0)
|
2014-04-07 09:10:57 +00:00
|
|
|
Installing c/c (1.0.0)
|