--TEST-- Test that providers can be installed in conjunction with the package they provide if they are selected and the package they provide is also installable --COMPOSER-- { "repositories": [ { "type": "package", "package": [ { "name": "foo/polyfill", "provide": { "foo/standard": "1.0.0" }, "version": "1.0.0" }, { "name": "foo/standard", "version": "1.0.0", "provide": { "foo/also-necessary": "1.0.0" } } ] } ], "require": { "foo/also-necessary": "1.0.0", "foo/standard": "1.0.0", "foo/polyfill": "1.0.0" } } --RUN-- update --EXPECT-- Installing foo/polyfill (1.0.0) Installing foo/standard (1.0.0)