Skip to content

Conversation

@niekoost
Copy link

Since "^8.0" does not match PHP 8.1.9, it would be better to use "^8" in the composer.json

Since "^8.0" does not match PHP 8.1.9, it would be better to use "^8" in the composer.json
@Arhell Arhell requested a review from Naktibalda August 25, 2022 00:02
composer.json Outdated
"homepage": "https://codeception.com/",
"require": {
"php": "^8.0",
"php": "^8",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use "^8.0|^8.1" so we don't match 8.2 that might not be compatible. Better to be explicit than to be surprised later ;)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NicolasCARPi I agree, I have changed the value.

@Naktibalda
Copy link
Member

Since "^8.0" does not match PHP 8.1.9, it would be better to use "^8" in the composer.json

This is incorrect, "^8.0" matches all minor versions of PHP 8.

https://jubianchi.github.io/semver-check/#/^8.0/8.1.9

@Naktibalda Naktibalda closed this Sep 7, 2022
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

Successfully merging this pull request may close these issues.

4 participants