2020-04-23 13:01:32 +00:00
|
|
|
--TEST--
|
|
|
|
Updates without install updates the lock but not the installed state
|
|
|
|
--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" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "1.0.*",
|
|
|
|
"a/c": "1.*"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"a/b": "*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{ "name": "a/a", "version": "1.0.0" },
|
|
|
|
{ "name": "a/c", "version": "1.0.0" },
|
|
|
|
{ "name": "a/b", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
update --no-install
|
|
|
|
|
|
|
|
--EXPECT-LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{ "name": "a/a", "version": "1.0.1", "type": "library" },
|
|
|
|
{ "name": "a/c", "version": "1.0.0", "type": "library" }
|
|
|
|
],
|
|
|
|
"packages-dev": [
|
|
|
|
{ "name": "a/b", "version": "2.0.0", "type": "library" }
|
|
|
|
],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "stable",
|
2024-09-18 14:32:40 +00:00
|
|
|
"stability-flags": {},
|
2020-04-23 13:01:32 +00:00
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
2024-09-18 14:32:40 +00:00
|
|
|
"platform": {},
|
|
|
|
"platform-dev": {}
|
2020-04-23 13:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
--EXPECT-INSTALLED--
|
|
|
|
[
|
2020-04-24 07:07:32 +00:00
|
|
|
{ "name": "a/a", "version": "1.0.0", "type": "library" },
|
|
|
|
{ "name": "a/b", "version": "1.0.0", "type": "library" },
|
|
|
|
{ "name": "a/c", "version": "1.0.0", "type": "library" }
|
2020-04-23 13:01:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
--EXPECT--
|