yiisoft/yii2-app-basic

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

Why is 2.0.47 wrong? It matches the constraint in composer.json and there's no composer.lock file.

It's the other way around - op expects 2.0.47 and receives 2.0.45

Closing because the reason is PHP version.