Closed tomaszkane closed 11 months ago
Or I do something wrong :-)
Seems, it's composer bug, because composer.lock contains this:
{
"name": "yiisoft/form",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/form.git",
"reference": "1739d70f221fa720862f1563e1db801d2a80f014"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/form/zipball/1739d70f221fa720862f1563e1db801d2a80f014",
"reference": "1739d70f221fa720862f1563e1db801d2a80f014",
"shasum": ""
},
...
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
},
"config-plugin-options": {
"source-directory": "config"
},
"config-plugin": {
"params": "params.php",
"bootstrap": "bootstrap.php",
"di": "di.php"
}
},
...
},
It's documented:
Note: This feature has severe technical limitations, as the composer.json metadata will still be read from the branch name you specify before the hash. You should therefore only use this as a temporary solution during development to remediate transient issues, until you can switch to tagged releases. The Composer team does not actively support this feature and will not accept bug reports related to it.
See I have locked a dependency to a specific commit but get unexpected results.
What steps will reproduce the problem?
"yiisoft/form": "dev-master#1739d70f221fa720862f1563e1db801d2a80f014"
yii-config-rebuild
What is the expected result?
dev-master#1739d70f221fa720862f1563e1db801d2a80f014
dev-master#1739d70f221fa720862f1563e1db801d2a80f014
What do you get instead?
dev-master#1739d70f221fa720862f1563e1db801d2a80f014
- OKdev-master
- not OK -dev-master
has "di.php", but in#1739d70...
is missing, so I got error "vendor/yiisoft/form/config/di.php" file does not found."Additional info