Skip to content

Conversation

@gbobts
Copy link

@gbobts gbobts commented May 31, 2024

Code is compatible with PHP 8.3, updated composer.json accordingly
Also specified version number in composer.json

"version": "2.1.4"
"require": {
"php": "~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0",
"php": "~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3",
Copy link

@fritzmg fritzmg Aug 21, 2024

Choose a reason for hiding this comment

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

This can be shortened to:

Suggested change
"php": "~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3",
"php": "^7.0 || ^8.1",

Note: the single pipe | notation is deprecated.

"license": [
"AGPL-3.0+"
],
"version": "2.1.4"
Copy link

@fritzmg fritzmg Aug 21, 2024

Choose a reason for hiding this comment

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

Suggested change
"version": "2.1.4"

This is not necessary, Composer/Packagist will automatically pull the version tag from the repository. It would also be wrong, as there already is a verison 2.1.4.

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.

2 participants