2020-06-23 19:52:55 +00:00
|
|
|
--TEST--
|
2022-10-12 14:45:10 +00:00
|
|
|
Solver Bug Exception caused by analyze on multi conflict rule reported in GitHub issue 7051 https://github.com/composer/composer/issues/7051
|
2020-06-23 19:52:55 +00:00
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"require": {
|
|
|
|
"illuminate/queue": "*",
|
|
|
|
"friendsofphp/php-cs-fixer": "*"
|
|
|
|
},
|
|
|
|
"repositories": {
|
|
|
|
"illuminate/queue": {
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "illuminate/queue",
|
|
|
|
"version": "v5.2.0",
|
|
|
|
"require": {
|
|
|
|
"illuminate/console": "5.2.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"friendsofphp/php-cs-fixer": {
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "friendsofphp/php-cs-fixer",
|
|
|
|
"version": "v2.10.5",
|
|
|
|
"type": "application",
|
|
|
|
"require": {
|
|
|
|
"symfony/console": "^3.2 || ^4.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "friendsofphp/php-cs-fixer",
|
|
|
|
"version": "v2.10.4",
|
|
|
|
"type": "application",
|
|
|
|
"require": {
|
|
|
|
"symfony/console": "^3.2 || ^4.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"illuminate/console": {
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "illuminate/console",
|
|
|
|
"version": "v5.2.26",
|
|
|
|
"require": {
|
|
|
|
"symfony/console": "2.8.*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "illuminate/console",
|
|
|
|
"version": "v5.2.25",
|
|
|
|
"require": {
|
|
|
|
"symfony/console": "3.1.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symfony/console": {
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.4.29"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.4.28"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.3.18"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.3.17"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.2.14"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.2.13"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.1.10"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v3.1.9"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v2.8.8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "symfony/console",
|
|
|
|
"version": "v2.8.7"
|
|
|
|
}
|
|
|
|
]
|
2020-07-02 06:12:25 +00:00
|
|
|
}
|
2020-06-23 19:52:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
update
|
2020-10-21 12:08:12 +00:00
|
|
|
|
2020-06-23 19:52:55 +00:00
|
|
|
--EXPECT-OUTPUT--
|
|
|
|
Loading composer repositories with package information
|
|
|
|
Updating dependencies
|
|
|
|
Your requirements could not be resolved to an installable set of packages.
|
|
|
|
|
|
|
|
Problem 1
|
2020-10-21 12:08:12 +00:00
|
|
|
- Conclusion: don't install friendsofphp/php-cs-fixer v2.10.5 (conflict analysis result)
|
2020-10-21 15:11:13 +00:00
|
|
|
- Root composer.json requires friendsofphp/php-cs-fixer * -> satisfiable by friendsofphp/php-cs-fixer[v2.10.4, v2.10.5].
|
2020-06-23 19:52:55 +00:00
|
|
|
- illuminate/queue v5.2.0 requires illuminate/console 5.2.* -> satisfiable by illuminate/console[v5.2.25, v5.2.26].
|
|
|
|
- illuminate/console v5.2.26 requires symfony/console 2.8.* -> satisfiable by symfony/console[v2.8.7, v2.8.8].
|
2020-10-21 12:08:12 +00:00
|
|
|
- Conclusion: don't install symfony/console v2.8.7 (conflict analysis result)
|
2020-10-21 15:11:13 +00:00
|
|
|
- Conclusion: don't install symfony/console v3.4.28 (conflict analysis result)
|
|
|
|
- Conclusion: don't install symfony/console v2.8.8 (conflict analysis result)
|
|
|
|
- Conclusion: don't install symfony/console v3.4.29 (conflict analysis result)
|
2020-06-23 19:52:55 +00:00
|
|
|
- Root composer.json requires illuminate/queue * -> satisfiable by illuminate/queue[v5.2.0].
|
|
|
|
- friendsofphp/php-cs-fixer v2.10.4 requires symfony/console ^3.2 || ^4.0 -> satisfiable by symfony/console[v3.2.13, ..., v3.4.29].
|
|
|
|
- You can only install one version of a package, so only one of these can be installed: symfony/console[v2.8.7, v2.8.8, v3.1.9, ..., v3.4.29].
|
|
|
|
- illuminate/console v5.2.25 requires symfony/console 3.1.* -> satisfiable by symfony/console[v3.1.9, v3.1.10].
|
2020-10-21 12:08:12 +00:00
|
|
|
- Conclusion: don't install symfony/console v3.1.10 (conflict analysis result)
|
2020-10-01 14:42:02 +00:00
|
|
|
|
|
|
|
--EXPECT-OUTPUT-OPTIMIZED--
|
|
|
|
Loading composer repositories with package information
|
|
|
|
Updating dependencies
|
|
|
|
Your requirements could not be resolved to an installable set of packages.
|
|
|
|
|
|
|
|
Problem 1
|
|
|
|
- Root composer.json requires illuminate/queue * -> satisfiable by illuminate/queue[v5.2.0].
|
|
|
|
- illuminate/queue v5.2.0 requires illuminate/console 5.2.* -> satisfiable by illuminate/console[v5.2.25, v5.2.26].
|
2021-11-09 16:45:12 +00:00
|
|
|
- illuminate/console v5.2.25 requires symfony/console 3.1.* -> satisfiable by symfony/console[v3.1.9, v3.1.10].
|
|
|
|
- illuminate/console v5.2.26 requires symfony/console 2.8.* -> satisfiable by symfony/console[v2.8.7, v2.8.8].
|
|
|
|
- You can only install one version of a package, so only one of these can be installed: symfony/console[v2.8.7, v2.8.8, v3.1.9, ..., v3.4.29].
|
|
|
|
- friendsofphp/php-cs-fixer[v2.10.4, ..., v2.10.5] require symfony/console ^3.2 || ^4.0 -> satisfiable by symfony/console[v3.2.13, ..., v3.4.29].
|
|
|
|
- Root composer.json requires friendsofphp/php-cs-fixer * -> satisfiable by friendsofphp/php-cs-fixer[v2.10.4, v2.10.5].
|
2020-10-01 14:42:02 +00:00
|
|
|
|
2020-06-23 19:52:55 +00:00
|
|
|
--EXPECT--
|
|
|
|
|
|
|
|
--EXPECT-EXIT-CODE--
|
|
|
|
2
|
|
|
|
|