2020-03-11 12:37:39 +00:00
|
|
|
--TEST--
|
|
|
|
Test that a conflict against >=5 does not include dev-master or other dev-x
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "conflicter/pkg", "version": "1.0.0", "conflict": { "victim/pkg": ">=5", "victim/pkg2": ">=5" } },
|
2020-06-19 13:35:09 +00:00
|
|
|
{ "name": "victim/pkg", "version": "dev-master", "default-branch": true },
|
2020-03-11 12:37:39 +00:00
|
|
|
{ "name": "victim/pkg2", "version": "dev-foo" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"conflicter/pkg": "1.0.0",
|
|
|
|
"victim/pkg": "*",
|
|
|
|
"victim/pkg2": "*"
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
|
|
|
|
--EXPECT--
|
|
|
|
Installing conflicter/pkg (1.0.0)
|
|
|
|
Installing victim/pkg (dev-master)
|
|
|
|
Marking victim/pkg (9999999-dev) as installed, alias of victim/pkg (dev-master)
|
|
|
|
Installing victim/pkg2 (dev-foo)
|