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.

40 lines
860 B
Plaintext

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