Skip to content

Drop support for PHP 7.1-7.4 and add support for PHP 8.5#165

Merged
YaroslavStryhun merged 1 commit intomasterfrom
php-versions-fix
Mar 24, 2026
Merged

Drop support for PHP 7.1-7.4 and add support for PHP 8.5#165
YaroslavStryhun merged 1 commit intomasterfrom
php-versions-fix

Conversation

@YaroslavStryhun
Copy link
Copy Markdown
Collaborator

@YaroslavStryhun YaroslavStryhun commented Mar 24, 2026

Hello!

  • Type: bug fix | new feature | code quality | documentation
  • Link to issue:

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines?
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.

Small description of change:

Thanks

Summary by CodeRabbit

  • Chores
    • Updated minimum PHP requirement to 8.0; added support for PHP 8.5.
    • Removed PHP 7.1–7.4 compatibility.
    • Updated CI/CD pipeline and project documentation.

@YaroslavStryhun YaroslavStryhun requested a review from a team as a code owner March 24, 2026 15:22
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

Walkthrough

The pull request updates PHP version support constraints across configuration files, CI workflows, and documentation. It removes PHP 7.x support, establishes PHP 8.0+ as the minimum requirement, and adds support for PHP 8.5.

Changes

Cohort / File(s) Summary
CI Configuration
.github/workflows/pr.yml
Updated PHP version test matrix to remove PHP 7.x and 8.0-8.4, now testing only PHP 8.0-8.5.
Package Configuration
composer.json
Updated PHP runtime constraint from ^7.1 || ^8.0 to ^8.0, removing PHP 7.x support.
Documentation
README.md, CHANGELOG.md
Updated PHP support matrix in README badge and version list; added changelog entries documenting PHP 8.5 support and PHP 7.1-7.4 removal.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and specifically describes the main changes: removing PHP 7.1–7.4 support and adding PHP 8.5 support, which are the core updates reflected across all modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch php-versions-fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Snyk-Agent
Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Around line 338-340: Remove the two unused version reference link entries (the
lines that define the compare URLs for "[4.0.0]" and "[3.24.0]" which are adding
noise and triggering markdown-lint warnings) and re-add a top-level
"[Unreleased]" compare reference link pointing to the repository compare URL for
the unreleased range; update the bottom references block to include only active
version compare links and the new "[Unreleased]" link so the changelog no longer
contains the unused references.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e5b5ed85-ad5a-4ff0-bc30-95e8f659f46a

📥 Commits

Reviewing files that changed from the base of the PR and between 4e59b8e and 28d4539.

📒 Files selected for processing (4)
  • .github/workflows/pr.yml
  • CHANGELOG.md
  • README.md
  • composer.json

Comment thread CHANGELOG.md
Comment thread .github/workflows/pr.yml
fail-fast: false
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required

Why are we checked our service within few versions of PHP?

@YaroslavStryhun YaroslavStryhun merged commit eb8b40b into master Mar 24, 2026
20 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.

5 participants