Skip to content

Compatibility with PHP 8.3#65

Open
gbobts wants to merge 1 commit into
fnogatz:mainfrom
gbobts:matomo-php8.3
Open

Compatibility with PHP 8.3#65
gbobts wants to merge 1 commit into
fnogatz:mainfrom
gbobts:matomo-php8.3

Conversation

@gbobts

@gbobts gbobts commented May 31, 2024

Copy link
Copy Markdown

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

Comment thread 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",

@fritzmg fritzmg Aug 21, 2024

Copy link
Copy Markdown

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.

Comment thread composer.json
"license": [
"AGPL-3.0+"
],
"version": "2.1.4"

@fritzmg fritzmg Aug 21, 2024

Copy link
Copy Markdown

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.

@jkrshw

jkrshw commented May 22, 2026

Copy link
Copy Markdown

Hi, sorry to bump and old issue. Any chance this can be merged?

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.

3 participants