Skip to content

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

Merged
TheWitness merged 3 commits intoCacti:1.2.xfrom
ddb4github:fixsyntax
Apr 9, 2022
Merged

When running under PHP 5.4, certain operators are not valid#4688
TheWitness merged 3 commits intoCacti:1.2.xfrom
ddb4github:fixsyntax

Conversation

@ddb4github
Copy link
Copy Markdown
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
Copy Markdown
Member

netniV commented Apr 9, 2022

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

@TheWitness
Copy link
Copy Markdown
Member

@ddb4github, please add a ChangeLog update too thanks.

Copy link
Copy Markdown
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
Copy Markdown
Member

I returned it.

@TheWitness TheWitness merged commit 328e2d9 into Cacti:1.2.x Apr 9, 2022
@ddb4github
Copy link
Copy Markdown
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