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": [
|
2014-05-23 13:22:53 +00:00
|
|
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" }, "require": { "c/c": "*" } },
|
2012-09-05 18:39:45 +00:00
|
|
|
{ "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--
|
2019-11-08 11:31:26 +00:00
|
|
|
update
|
2012-09-05 18:39:45 +00:00
|
|
|
--EXPECT-OUTPUT--
|
2016-01-28 13:41:19 +00:00
|
|
|
Loading composer repositories with package information
|
2019-10-29 23:55:11 +00:00
|
|
|
Updating dependencies
|
|
|
|
Lock file operations: 2 installs, 0 updates, 0 removals
|
2019-11-08 15:48:35 +00:00
|
|
|
- Locking c/c (1.0.0)
|
|
|
|
- Locking a/a (1.0.0)
|
2016-01-28 13:41:19 +00:00
|
|
|
Writing lock file
|
2019-10-29 23:55:11 +00:00
|
|
|
Installing dependencies from lock file (including require-dev)
|
|
|
|
Package operations: 2 installs, 0 updates, 0 removals
|
2016-01-28 13:41:19 +00:00
|
|
|
Generating autoload files
|
2012-09-05 18:39:45 +00:00
|
|
|
|
|
|
|
--EXPECT--
|
2014-04-07 09:10:57 +00:00
|
|
|
Installing c/c (1.0.0)
|
2014-05-23 13:22:53 +00:00
|
|
|
Installing a/a (1.0.0)
|