Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong version while installation via composer #281

Closed
em92 opened this issue Dec 7, 2022 · 4 comments
Closed

Wrong version while installation via composer #281

em92 opened this issue Dec 7, 2022 · 4 comments

Comments

@em92
Copy link

em92 commented Dec 7, 2022

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
Copy link
Contributor

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

@bizley
Copy link
Member

bizley commented Dec 7, 2022

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

@schmunk42
Copy link
Contributor

Sorry my bad.

Min PHP version was raised to 7.4

2.0.45...2.0.47#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34R17

@samdark samdark closed this as completed Jan 17, 2023
@samdark
Copy link
Member

samdark commented Jan 17, 2023

Closing because the reason is PHP version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants