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

Compatibility with PHP 8.3 #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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

"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.

@@ -5,8 +5,9 @@
"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