--TEST-- Test the error output minifies version lists --COMPOSER-- { "repositories": [ { "type": "package", "package": [ {"name": "a/a", "version": "1.0.0", "require": {"b/b": "1.0.0"}}, {"name": "b/b", "version": "1.0.0"}, {"name": "b/b", "version": "1.0.1"}, {"name": "b/b", "version": "1.0.2"}, {"name": "b/b", "version": "1.0.3"}, {"name": "b/b", "version": "v1.1.4"}, {"name": "b/b", "version": "1.0.4"}, {"name": "b/b", "version": "1.0.5"}, {"name": "b/b", "version": "1.0.6"}, {"name": "b/b", "version": "1.0.7"}, {"name": "b/b", "version": "1.1.0"}, {"name": "b/b", "version": "2.0.5"}, {"name": "b/b", "version": "1.0.8"}, {"name": "b/b", "version": "1.0.9"}, {"name": "b/b", "version": "1.1.1"}, {"name": "b/b", "version": "1.1.2"}, {"name": "b/b", "version": "1.1.3"}, {"name": "b/b", "version": "1.1.5"}, {"name": "b/b", "version": "v1.1.6"}, {"name": "b/b", "version": "1.1.7-alpha"}, {"name": "b/b", "version": "1.1.8"}, {"name": "b/b", "version": "1.1.9"}, {"name": "b/b", "version": "1.2.0"}, {"name": "b/b", "version": "1.2.2"}, {"name": "b/b", "version": "1.2.3"}, {"name": "b/b", "version": "1.2.4"}, {"name": "b/b", "version": "1.2.5"}, {"name": "b/b", "version": "1.2.6"}, {"name": "b/b", "version": "1.2.1"}, {"name": "b/b", "version": "1.2.7"}, {"name": "b/b", "version": "1.2.8"}, {"name": "b/b", "version": "1.2.9"}, {"name": "b/b", "version": "2.0.0"}, {"name": "b/b", "version": "2.0.1"}, {"name": "b/b", "version": "2.0.2"}, {"name": "b/b", "version": "2.0.3"}, {"name": "b/b", "version": "2.0.4"}, {"name": "b/b", "version": "2.0.6"}, {"name": "b/b", "version": "2.0.7"}, {"name": "b/b", "version": "2.0.8"}, {"name": "b/b", "version": "2.0.9"}, {"name": "b/b", "version": "2.1.0"}, {"name": "b/b", "version": "2.1.1"}, {"name": "b/b", "version": "2.1.2"}, {"name": "b/b", "version": "2.1.3"}, {"name": "b/b", "version": "2.1.4"}, {"name": "b/b", "version": "2.1.5"}, {"name": "b/b", "version": "2.1.6"}, {"name": "b/b", "version": "2.1.7"}, {"name": "b/b", "version": "2.1.8"}, {"name": "b/b", "version": "2.1.9"}, {"name": "b/b", "version": "2.2.0"}, {"name": "b/b", "version": "2.2.1"}, {"name": "b/b", "version": "2.2.2"}, {"name": "b/b", "version": "2.2.3"}, {"name": "b/b", "version": "2.2.4"}, {"name": "b/b", "version": "2.2.5"}, {"name": "b/b", "version": "2.2.6"}, {"name": "b/b", "version": "2.2.7"}, {"name": "b/b", "version": "2.2.8"}, {"name": "b/b", "version": "2.2.9"}, {"name": "b/b", "version": "2.3.0-RC"}, {"name": "b/b", "version": "3.0.0"}, {"name": "b/b", "version": "3.0.1"}, {"name": "b/b", "version": "3.0.2"}, {"name": "b/b", "version": "3.0.3"}, {"name": "b/b", "version": "4.0.0"} ] } ], "require": { "a/a": "*", "b/b": "^1.1 || ^2.0 || ^3.0" }, "minimum-stability": "dev" } --LOCK-- { "packages": [ {"name": "b/b", "version": "1.0.0"} ], "packages-dev": [], "aliases": [], "minimum-stability": "dev", "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": {}, "platform-dev": {} } --RUN-- update a/a --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 - Root composer.json requires b/b ^1.1 || ^2.0 || ^3.0, found b/b[1.1.0, ..., 1.2.9, 2.0.0, ..., 2.3.0-RC, 3.0.0, 3.0.1, 3.0.2, 3.0.3] but the package is fixed to 1.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. --EXPECT--