--TEST-- Test the error output of solver problems. --COMPOSER-- { "repositories": [ { "type": "package", "package": [ { "name": "unstable/package", "version": "2.0.0-alpha" }, { "name": "unstable/package", "version": "1.0.0" }, { "name": "requirer/pkg", "version": "1.0.0", "require": {"dependency/pkg": "1.0.0" } }, { "name": "dependency/pkg", "version": "2.0.0" }, { "name": "dependency/pkg", "version": "1.0.0" }, { "name": "stable-requiree-excluded/pkg", "version": "1.0.1" }, { "name": "stable-requiree-excluded/pkg", "version": "1.0.0" } ] } ], "require": { "unstable/package": "2.*", "bogus/pkg": "1.*", "requirer/pkg": "1.*", "dependency/pkg": "2.*", "stable-requiree-excluded/pkg": "1.0.1" } } --INSTALLED-- [ { "name": "stable-requiree-excluded/pkg", "version": "1.0.0" } ] --RUN-- update unstable/package requirer/pkg dependency/pkg --EXPECT-EXIT-CODE-- 2 --EXPECT-OUTPUT-- Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package unstable/package 2.* exists as unstable/package[1.0.0] but these are rejected by your constraint. Problem 2 - The requested package bogus/pkg could not be found in any version, there may be a typo in the package name. Problem 3 - The requested package stable-requiree-excluded/pkg (installed at 1.0.0, required as 1.0.1) is satisfiable by stable-requiree-excluded/pkg[1.0.0] but these conflict with your requirements or minimum-stability. Problem 4 - Installation request for requirer/pkg 1.* -> satisfiable by requirer/pkg[1.0.0]. - requirer/pkg 1.0.0 requires dependency/pkg 1.0.0 -> satisfiable by dependency/pkg[1.0.0] but these conflict with your requirements or minimum-stability. Potential causes: - This package is not installable via Composer 1.x, see - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see for more details. - It's a private package and you forgot to add a custom repository to find it Read for further common problems. --EXPECT--