Update PHP support to 8.2–8.5

Open
#227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
php

Research direction

Use the PHP version support upgrade skill linked in the issue to analyze the repository. Review composer.json, CI workflows, plugin/package metadata, compatibility tooling, static-analysis configuration, and readmes/docs, then run the relevant compatibility checks across PHP 8.2–8.5. Done means the minimum version, tested range, metadata, documentation, and compatibility checks all reflect PHP 8.2–8.5, with follow-up concerns documented.

Written by the indexing model from the issue text.

Description

help wanted
Is your enhancement related to a problem? Please describe.

Update PHP support to 8.2 through 8.5. using the PHP version support upgrade skill being developed in https://github.com/Fueled/.github/issues/2 to analyze this repo and identify the changes needed.

The update should:

  • Raise the minimum supported PHP version to 8.2
  • Ensure the project supports and is tested through PHP 8.5
  • Update composer.json, plugin/package metadata, CI workflows, compatibility tooling, static analysis, readmes/docs, and related configuration as applicable
  • Update dependencies where necessary for PHP 8.2–8.5 compatibility
  • Remove or simplify compatibility code that only exists to support PHP versions below 8.2 where appropriate
  • Address PHP 8.2–8.5 deprecations, compatibility issues, or test failures identified by the skill
  • Update relevant documentation to reflect the new supported PHP range

Avoid unnecessary refactoring solely to adopt newer PHP syntax. Any larger modernization opportunities identified by the skill can be documented separately in GitHub issues if they are outside the scope of this update.

Designs
  • Minimum PHP version is 8.2
  • CI tests the supported PHP range through PHP 8.5
  • Compatibility and static-analysis checks pass across that range
  • Relevant metadata and documentation reflect the updated PHP support
  • Any remaining compatibility concerns requiring follow-up are documented
Describe alternatives you've considered

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
JavaScript
Stars
37
Forks
0
Avg merge
38m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/insecure-content-warning

All issues in 10up/insecure-content-warning

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.