Wrong version while installation via composer
em92 opened this issue · 4 comments
em92 commented
What steps will reproduce the problem?
composer create-project yiisoft/yii2-app-basic basic
What's expected?
Output like Installing yiisoft/yii2-app-basic (2.0.47)
. 2.0.47 is taken from https://www.yiiframework.com/download
What do you get instead?
Output like Installing yiisoft/yii2-app-basic (2.0.45)
.
Additional info
Q | A |
---|---|
Yii version | 2.0 |
PHP version | 7.3 |
Operating system | Debian GNU/Linux |
schmunk42 commented
Why is 2.0.47
wrong? It matches the constraint in composer.json
and there's no composer.lock
file.
bizley commented
It's the other way around - op expects 2.0.47 and receives 2.0.45
schmunk42 commented
Sorry my bad.
Min PHP version was raised to 7.4
2.0.45...2.0.47#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34R17
samdark commented
Closing because the reason is PHP version.