Skip to content

fix: replace constructs deprecated in PHP 8.5 - #325

Merged
TheWitness merged 1 commit into
Cacti:developfrom
somethingwithproof:fix/php85-deprecations
Dec 3, 2026
Merged

TheWitness merged 1 commit into
Cacti:developfrom
somethingwithproof:fix/php85-deprecations

Conversation

@somethingwithproof

Copy link
Copy Markdown
Member

Replaces constructs that PHP 8.5 deprecates. Each replacement behaves the same on the plugin's PHP floor (8.2), so no version guard is needed.

Changes by rule:

No behaviour change. Verified with php -l on 8.2 and 8.5, the unit suite on both, and a scanner re-run for the PHP 8.5 rule set.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit dc9cd4f into Cacti:develop Dec 3, 2026
7 checks passed
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