1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/disjunctive-multi-constrain...

25 lines
554 B
Plaintext
Raw Normal View History

--TEST--
Disjunctive multi constraints work
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
2020-03-11 08:34:40 +00:00
{ "name": "foo/pkg", "version": "1.1.0" },
{ "name": "foo/pkg", "version": "1.0.0" },
{ "name": "bar/pkg", "version": "1.1.0", "require": { "foo/pkg": "1.0.*" } }
]
}
],
"require": {
2020-03-11 08:34:40 +00:00
"bar/pkg": "1.*",
"foo/pkg": "1.0.*|1.1.*"
}
}
--RUN--
install
--EXPECT--
2020-03-11 08:34:40 +00:00
Installing foo/pkg (1.0.0)
Installing bar/pkg (1.1.0)