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

25 lines
522 B
Plaintext
Raw Normal View History

--TEST--
Disjunctive multi constraints work
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "foo", "version": "1.1.0" },
{ "name": "foo", "version": "1.0.0" },
{ "name": "bar", "version": "1.1.0", "require": { "foo": "1.0.*" } }
]
}
],
"require": {
"bar": "1.*",
"foo": "1.0.*|1.1.*"
}
}
--RUN--
install
--EXPECT--
Installing foo (1.0.0)
Installing bar (1.1.0)