2013-04-01 06:10:15 +00:00
|
|
|
--TEST--
|
|
|
|
Installing double aliased package
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
2022-10-11 14:51:47 +00:00
|
|
|
"dist": { "type": "file", "url": "https://example.org" },
|
2013-04-01 06:10:15 +00:00
|
|
|
"require": {
|
|
|
|
"b/b": "dev-master"
|
2020-06-19 13:35:09 +00:00
|
|
|
},
|
|
|
|
"default-branch": true
|
2013-04-01 06:10:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "dev-foo",
|
|
|
|
"extra": { "branch-alias": { "dev-foo": "1.0.x-dev" } },
|
2022-10-11 14:51:47 +00:00
|
|
|
"dist": { "type": "file", "url": "https://example.org" }
|
2013-04-01 06:10:15 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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)
|
2019-11-07 19:40:28 +00:00
|
|
|
Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)
|
2020-10-14 09:13:51 +00:00
|
|
|
Marking b/b (dev-master) as installed, alias of b/b (dev-foo)
|
2013-04-01 06:10:15 +00:00
|
|
|
Installing a/a (dev-master)
|
2020-03-11 12:37:39 +00:00
|
|
|
Marking a/a (9999999-dev) as installed, alias of a/a (dev-master)
|