2020-05-01 13:41:54 +00:00
|
|
|
--TEST--
|
|
|
|
Test the error output of solver problems is deduplicated.
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "package/a", "version": "2.0.0", "require": { "missing/dep": "^1.0" } },
|
|
|
|
{ "name": "package/a", "version": "2.0.1", "require": { "missing/dep": "^1.0" } },
|
|
|
|
{ "name": "package/a", "version": "2.0.2", "require": { "missing/dep": "^1.0" } },
|
|
|
|
{ "name": "package/a", "version": "2.0.3", "require": { "missing/dep": "^1.0" } },
|
|
|
|
{ "name": "package/a", "version": "2.1.0", "require": { "missing/dep": "^1.0" } },
|
2021-11-09 16:45:12 +00:00
|
|
|
{ "name": "package/a", "version": "2.2.0", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.3.1", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.3.2", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.3.3", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.3.4", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.3.5", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.4.0", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.5.0", "require": { "missing/dep": "^1.1" } },
|
|
|
|
{ "name": "package/a", "version": "2.6.0", "require": { "missing/dep": "^1.1" } },
|
2020-05-01 13:41:54 +00:00
|
|
|
{ "name": "missing/dep", "version": "2.0.0" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"package/a": "*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
|
|
|
|
--EXPECT-EXIT-CODE--
|
|
|
|
2
|
|
|
|
|
|
|
|
--EXPECT-OUTPUT--
|
|
|
|
Loading composer repositories with package information
|
|
|
|
Updating dependencies
|
|
|
|
Your requirements could not be resolved to an installable set of packages.
|
|
|
|
|
|
|
|
Problem 1
|
2021-11-09 16:45:12 +00:00
|
|
|
- package/a[2.2.0, ..., 2.6.0] require missing/dep ^1.1 -> found missing/dep[2.0.0] but it does not match the constraint.
|
|
|
|
- package/a[2.0.0, ..., 2.1.0] require missing/dep ^1.0 -> found missing/dep[2.0.0] but it does not match the constraint.
|
2020-05-01 13:41:54 +00:00
|
|
|
- Root composer.json requires package/a * -> satisfiable by package/a[2.0.0, ..., 2.6.0].
|
|
|
|
|
|
|
|
--EXPECT--
|
|
|
|
|