You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
--TEST--
|
|
|
|
Installs a dev package from lock using dist
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a",
|
|
|
|
"version": "dev-master",
|
|
|
|
"version_normalized": "9999999-dev",
|
|
|
|
"dist": {
|
|
|
|
"type": "zip",
|
|
|
|
"url": "http://www.example.com/dist.zip",
|
|
|
|
"reference": "459720ff3b74ee0c0d159277c6f2f5df89d8a4f6"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "dev-master"
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
install --prefer-dist
|
|
|
|
--EXPECT-LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{
|
|
|
|
"name": "a/a",
|
|
|
|
"version": "dev-master",
|
|
|
|
"dist": {
|
|
|
|
"type": "zip",
|
|
|
|
"url": "http://www.example.com/dist.zip",
|
|
|
|
"reference": "459720ff3b74ee0c0d159277c6f2f5df89d8a4f6",
|
|
|
|
"shasum": null
|
|
|
|
},
|
|
|
|
"type": "library"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"packages-dev": null,
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"stability-flags": {
|
|
|
|
"a/a": 20
|
|
|
|
},
|
|
|
|
"platform": [],
|
|
|
|
"platform-dev": []
|
|
|
|
}
|
|
|
|
--EXPECT--
|
|
|
|
Installing a/a (dev-master)
|