2016-04-20 11:34:04 +00:00
|
|
|
--TEST--
|
|
|
|
Updates with --no-dev but we still end up with a complete lock file including dev deps
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "a/a", "version": "1.0.0" },
|
|
|
|
{ "name": "a/a", "version": "1.0.1" },
|
|
|
|
{ "name": "a/a", "version": "1.1.0" },
|
|
|
|
|
|
|
|
{ "name": "a/b", "version": "1.0.0" },
|
|
|
|
{ "name": "a/b", "version": "1.0.1" },
|
|
|
|
{ "name": "a/b", "version": "2.0.0" },
|
|
|
|
|
|
|
|
{ "name": "a/c", "version": "1.0.0" },
|
|
|
|
{ "name": "a/c", "version": "2.0.0" },
|
|
|
|
|
|
|
|
{ "name": "dev/pkg", "version": "dev-master", "extra": { "branch-alias": { "dev-master": "1.1.x-dev" } }, "source": {"type":"git", "url":"", "reference":"new"} },
|
|
|
|
{ "name": "dev/pkg", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "1.0.*",
|
|
|
|
"a/c": "1.*",
|
|
|
|
"dev/pkg": "^1.0@dev"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"a/b": "*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{ "name": "a/a", "version": "1.0.0" },
|
|
|
|
{ "name": "a/b", "version": "1.0.0" },
|
|
|
|
{ "name": "dev/pkg", "version": "dev-master", "extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }, "source": {"type":"git", "url":"", "reference":"old"} }
|
|
|
|
]
|
|
|
|
--EXPECT-LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{ "name": "a/a", "version": "1.0.1", "type": "library" },
|
|
|
|
{ "name": "a/c", "version": "1.0.0", "type": "library" },
|
|
|
|
{ "name": "dev/pkg", "version": "dev-master", "extra": { "branch-alias": { "dev-master": "1.1.x-dev" } }, "source": {"type":"git", "url":"", "reference":"new"}, "type": "library" }
|
|
|
|
],
|
|
|
|
"packages-dev": [
|
|
|
|
{ "name": "a/b", "version": "2.0.0", "type": "library" }
|
|
|
|
],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "stable",
|
|
|
|
"stability-flags": {
|
|
|
|
"dev/pkg": 20
|
|
|
|
},
|
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
2024-09-18 14:32:40 +00:00
|
|
|
"platform": {},
|
|
|
|
"platform-dev": {}
|
2016-04-20 11:34:04 +00:00
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
update --no-dev
|
|
|
|
--EXPECT--
|
2020-03-12 07:12:12 +00:00
|
|
|
Removing a/b (1.0.0)
|
2020-04-20 20:02:07 +00:00
|
|
|
Marking dev/pkg (1.0.x-dev old) as uninstalled, alias of dev/pkg (dev-master old)
|
2020-02-11 12:43:38 +00:00
|
|
|
Upgrading a/a (1.0.0 => 1.0.1)
|
2016-04-20 11:34:04 +00:00
|
|
|
Installing a/c (1.0.0)
|
2020-02-11 12:43:38 +00:00
|
|
|
Upgrading dev/pkg (dev-master old => dev-master new)
|
2016-04-20 11:34:04 +00:00
|
|
|
Marking dev/pkg (1.1.x-dev new) as installed, alias of dev/pkg (dev-master new)
|