151 lines
5.8 KiB
Plaintext
151 lines
5.8 KiB
Plaintext
--TEST--
|
|
Solver Bug Exception caused by analyze on multi conflict rule reported in GitHub issue 7051 https://github.com/composer/composer/issues/7051
|
|
--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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
--RUN--
|
|
update
|
|
|
|
--EXPECT-OUTPUT--
|
|
Loading composer repositories with package information
|
|
Updating dependencies
|
|
Your requirements could not be resolved to an installable set of packages.
|
|
|
|
Problem 1
|
|
- Conclusion: don't install friendsofphp/php-cs-fixer v2.10.5 (conflict analysis result)
|
|
- Root composer.json requires friendsofphp/php-cs-fixer * -> satisfiable by friendsofphp/php-cs-fixer[v2.10.4, v2.10.5].
|
|
- 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].
|
|
- Conclusion: don't install symfony/console v2.8.7 (conflict analysis result)
|
|
- 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)
|
|
- 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].
|
|
- Conclusion: don't install symfony/console v3.1.10 (conflict analysis result)
|
|
|
|
--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].
|
|
- 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].
|
|
|
|
--EXPECT--
|
|
|
|
--EXPECT-EXIT-CODE--
|
|
2
|
|
|