22 lines
512 B
Plaintext
22 lines
512 B
Plaintext
|
--TEST--
|
||
|
Replacer of the same vendor takes precedence if same prio repo
|
||
|
--COMPOSER--
|
||
|
{
|
||
|
"repositories": [
|
||
|
{
|
||
|
"type": "package",
|
||
|
"package": [
|
||
|
{ "name": "b/replacer", "version": "1.1.0", "replace": { "a/package": "1.1.0" } },
|
||
|
{ "name": "a/replacer", "version": "1.1.0", "replace": { "a/package": "1.1.0" } }
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"require": {
|
||
|
"a/package": "1.*"
|
||
|
}
|
||
|
}
|
||
|
--RUN--
|
||
|
install
|
||
|
--EXPECT--
|
||
|
Installing a/replacer (1.1.0)
|