2016-02-29 14:45:35 +00:00
|
|
|
--TEST--
|
|
|
|
Circular dependencies are possible between packages
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"name": "root",
|
|
|
|
"version": "dev-master",
|
|
|
|
"require": {
|
|
|
|
"require/itself": "1.0.0",
|
|
|
|
"regular/pkg": "1.0.0"
|
|
|
|
},
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "require/itself",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"source": { "reference": "some.branch", "type": "git", "url": "" },
|
|
|
|
"require": {
|
|
|
|
"require/itself": "1.0.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "regular/pkg",
|
|
|
|
"version": "1.0.0",
|
2016-03-02 12:03:26 +00:00
|
|
|
"source": { "reference": "some.branch", "type": "git", "url": "" }
|
2016-02-29 14:45:35 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
update -v
|
|
|
|
--EXPECT--
|
|
|
|
Installing regular/pkg (1.0.0)
|
2019-09-07 05:17:41 +00:00
|
|
|
Installing require/itself (1.0.0)
|