You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
847 B
Plaintext

--TEST--
Test that a conflict against a name that provided by the root does not error
--COMPOSER--
{
"version": "1.2.3",
"repositories": [
{
"type": "package",
"package": [
{
"name": "conflicting/pkg",
"version": "1.0.0",
"conflict": {
"provided/pkg": "2.*"
}
},
{
"name": "provider/pkg",
"version": "1.0.0",
"provide": { "provided/pkg2": "2.0.5" }
}
]
}
],
"require": {
"conflicting/pkg": "*"
},
"provide": {
"provided/pkg": "2.*"
}
}
--RUN--
update
--EXPECT-EXIT-CODE--
0
--EXPECT--
Installing conflicting/pkg (1.0.0)