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

When running under PHP 5.4, certain operators are not valid #4688

Merged
merged 3 commits into from
Apr 9, 2022

Conversation

ddb4github
Copy link
Contributor

@ddb4github ddb4github commented Apr 9, 2022

In Readme, Cacti 1.2.x support PHP 5.4+, so replace PHP 7.0 operator ?? with ?:
Related to #4475 and #4662
These two errors are introduced after 1.2.19. CHANGELOG might be not required if @netniV recreate release/1.2.20 tag

@netniV
Copy link
Member

netniV commented Apr 9, 2022

Release has already been made. It'll be a 1.2.21 fix.

@TheWitness
Copy link
Member

@ddb4github, please add a ChangeLog update too thanks.

Copy link
Member

@TheWitness TheWitness left a comment

Choose a reason for hiding this comment

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

Did you remove #4284 on accident?

@TheWitness
Copy link
Member

I returned it.

@TheWitness TheWitness merged commit 328e2d9 into Cacti:1.2.x Apr 9, 2022
@ddb4github
Copy link
Contributor Author

Did you remove #4284 on accident?

No, 4284 is duplicated in 1.2.18 section,

@ddb4github ddb4github deleted the fixsyntax branch April 9, 2022 23:34
@netniV netniV added this to the v1.2.21 milestone Apr 18, 2022
@netniV netniV changed the title Fix two syntax error for PHP 5.4 When running under PHP 5.4, certain operators are not valid May 15, 2022
TheWitness added a commit that referenced this pull request Jul 20, 2022
TheWitness added a commit that referenced this pull request Jul 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants