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

Drop Support for Older PHP Versions & Fix Version Mismatches #469

Open
ashleyshaw opened this issue Jan 9, 2025 · 0 comments · Fixed by #462
Open

Drop Support for Older PHP Versions & Fix Version Mismatches #469

ashleyshaw opened this issue Jan 9, 2025 · 0 comments · Fixed by #462
Assignees
Labels
[Type] Enhancement A suggestion for improvement
Milestone

Comments

@ashleyshaw
Copy link
Member

Labels: enhancement, technical-debt

Description
Align the minimum supported PHP version to at least 8.1, and fix any version requirement inconsistencies in composer.json, plugin readme, and PHPCS configuration.

Why This Matters

  • PHP 7.4 is EOL; many modern PHP tools don’t support it.
  • Consistency in version requirements helps avoid confusion and dependency issues.

Tasks

  1. Update composer.json, plugin readme, and PHPCS to require PHP >= 8.1.
  2. Remove or refactor code tailored to PHP < 8.1.
  3. Validate and test against PHP 8.1 (and optionally 8.2+ for future-proofing).
@ashleyshaw ashleyshaw added the [Type] Enhancement A suggestion for improvement label Jan 9, 2025
@ashleyshaw ashleyshaw added this to the 2.1.0 milestone Jan 9, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Jan 9, 2025
@ZaredRogers ZaredRogers linked a pull request Jan 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement
Projects
Status: Needs Triage
Development

Successfully merging a pull request may close this issue.

2 participants