Skip to content

Raise minimum PHP version to 8.2 #130

Description

@strangerkir

Summary

Raise Wonolog's minimum PHP version from 8.1 to 8.2.

Rationale

  1. PHP 8.1 is EOL. It reached end of life on 2025-12-31 and no longer
    receives security fixes.
  2. No measurable usage. The PHP-version breakdown on Packagist shows no
    recorded installs on PHP 8.1. (Caveat: these stats reflect the PHP version Composer ran on, not necessarily the site runtime.)
  3. Unblocks integration testing. syde/wp-phpunit-integration requires
    PHP >= 8.2. As long as we claim 8.1 support, the 8.1 CI job cannot install
    it without hacky workarounds.
  4. Smaller test matrix. One fewer PHP version to build, test and support.

Impact

Existing PHP 8.1 users are not broken; Composer will simply keep resolving
them to the current latest version.

It is a breaking change according to semver, but the decision of the next version is beyond the scope of this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions