2020-01-28 14:14:58 +00:00
|
|
|
--TEST--
|
|
|
|
Update to a state without dependency works well from locked with dependency
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
2020-06-19 13:35:09 +00:00
|
|
|
"source": { "reference": "1234", "type": "git", "url": "" },
|
|
|
|
"default-branch": true
|
2020-01-28 14:14:58 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
--LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "1234", "type": "git", "url": "" },
|
2020-06-19 13:35:09 +00:00
|
|
|
"type": "library",
|
|
|
|
"default-branch": true
|
2020-01-28 14:14:58 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"packages-dev": [],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "dev",
|
2024-09-18 14:32:40 +00:00
|
|
|
"stability-flags": {},
|
2020-01-28 14:14:58 +00:00
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
2024-09-18 14:32:40 +00:00
|
|
|
"platform": {},
|
|
|
|
"platform-dev": {}
|
2020-01-28 14:14:58 +00:00
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
--EXPECT-LOCK--
|
|
|
|
{
|
|
|
|
"packages": [],
|
|
|
|
"packages-dev": [],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "dev",
|
2024-09-18 14:32:40 +00:00
|
|
|
"stability-flags": {},
|
2020-01-28 14:14:58 +00:00
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
2024-09-18 14:32:40 +00:00
|
|
|
"platform": {},
|
|
|
|
"platform-dev": {}
|
2020-01-28 14:14:58 +00:00
|
|
|
}
|
|
|
|
--EXPECT--
|
2020-03-12 07:12:12 +00:00
|
|
|
Removing a/a (dev-master 1234)
|
2020-03-11 12:37:39 +00:00
|
|
|
Marking a/a (9999999-dev 1234) as uninstalled, alias of a/a (dev-master 1234)
|