2012-11-22 21:47:19 +00:00
|
|
|
--TEST--
|
|
|
|
Installing locked dev packages should remove old dependencies
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"require": {
|
|
|
|
"a/devpackage": "dev-master"
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|
|
|
|
--LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{
|
|
|
|
"name": "a/devpackage", "version": "dev-master",
|
|
|
|
"source": { "reference": "newref", "url": "", "type": "git" },
|
|
|
|
"require": {}
|
|
|
|
}
|
|
|
|
],
|
2019-09-07 00:28:40 +00:00
|
|
|
"packages-dev": [],
|
2012-11-22 21:47:19 +00:00
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "dev",
|
2014-07-07 17:51:00 +00:00
|
|
|
"stability-flags": [],
|
2014-12-13 22:56:15 +00:00
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false
|
2012-11-22 21:47:19 +00:00
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/devpackage", "version": "dev-master",
|
|
|
|
"source": { "reference": "oldref", "url": "", "type": "git" },
|
|
|
|
"require": {
|
|
|
|
"a/dependency": "*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "a/dependency", "version": "dev-master",
|
|
|
|
"source": { "reference": "ref", "url": "", "type": "git" },
|
|
|
|
"require": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
install
|
|
|
|
--EXPECT--
|
2020-03-12 07:12:12 +00:00
|
|
|
Removing a/dependency (dev-master ref)
|
2020-03-11 12:37:39 +00:00
|
|
|
Marking a/dependency (9999999-dev ref) as uninstalled, alias of a/dependency (dev-master ref)
|
2020-04-20 20:02:07 +00:00
|
|
|
Upgrading a/devpackage (dev-master oldref => dev-master newref)
|