31 lines
672 B
Plaintext
31 lines
672 B
Plaintext
--TEST--
|
|
Install prefers higher priority repositories over higher priority package versions
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "a/a", "version": "1.0.0" }
|
|
]
|
|
},
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "a/a", "version": "1.1.0" },
|
|
{ "name": "b/b", "version": "1.1.0" },
|
|
{ "name": "b/b", "version": "1.0.0" }
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/a": "*",
|
|
"b/b": "*"
|
|
}
|
|
}
|
|
--RUN--
|
|
install
|
|
--EXPECT--
|
|
Installing a/a (1.0.0)
|
|
Installing b/b (1.1.0)
|