2013-04-01 06:10:15 +00:00
|
|
|
--TEST--
|
|
|
|
Installing double aliased package
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"dist": { "type": "file", "url": "" },
|
|
|
|
"require": {
|
|
|
|
"b/b": "dev-master"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "dev-foo",
|
|
|
|
"extra": { "branch-alias": { "dev-foo": "1.0.x-dev" } },
|
|
|
|
"dist": { "type": "file", "url": "" }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "dev-master",
|
|
|
|
"b/b": "1.0.x-dev as dev-master"
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
install
|
|
|
|
--EXPECT--
|
|
|
|
Installing b/b (dev-foo)
|
|
|
|
Marking b/b (dev-master) as installed, alias of b/b (dev-foo)
|
2019-11-07 19:40:28 +00:00
|
|
|
Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)
|
2013-04-01 06:10:15 +00:00
|
|
|
Installing a/a (dev-master)
|