2014-11-26 19:24:30 +00:00
|
|
|
--TEST--
|
|
|
|
Install from a lock file that deleted a package
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
2020-06-07 21:15:09 +00:00
|
|
|
{ "name": "allowed", "version": "1.1.0" },
|
|
|
|
{ "name": "allowed", "version": "1.0.0", "require": { "fixed-dependency": "1.0.0", "old-dependency": "1.0.0" } },
|
2014-11-26 19:24:30 +00:00
|
|
|
{ "name": "fixed-dependency", "version": "1.1.0" },
|
|
|
|
{ "name": "fixed-dependency", "version": "1.0.0" },
|
|
|
|
{ "name": "old-dependency", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
2020-06-07 21:15:09 +00:00
|
|
|
"allowed": "1.*",
|
2014-11-26 19:24:30 +00:00
|
|
|
"fixed-dependency": "1.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
2020-06-07 21:15:09 +00:00
|
|
|
{ "name": "allowed", "version": "1.1.0" },
|
2014-11-26 19:24:30 +00:00
|
|
|
{ "name": "fixed-dependency", "version": "1.0.0" }
|
|
|
|
],
|
|
|
|
"packages-dev": null,
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"stability-flags": [],
|
|
|
|
"prefer-stable": false
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
2020-06-07 21:15:09 +00:00
|
|
|
{ "name": "allowed", "version": "1.0.0", "require": { "old-dependency": "1.0.0", "fixed-dependency": "1.0.0" } },
|
2014-11-26 19:24:30 +00:00
|
|
|
{ "name": "fixed-dependency", "version": "1.0.0" },
|
|
|
|
{ "name": "old-dependency", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
install
|
|
|
|
--EXPECT--
|
|
|
|
Uninstalling old-dependency (1.0.0)
|
2020-06-07 21:15:09 +00:00
|
|
|
Updating allowed (1.0.0) to allowed (1.1.0)
|