Skip to content

PHP 8.6 support - #61

Merged
vjik merged 2 commits into
masterfrom
php86
Nov 22, 2026
Merged

vjik merged 2 commits into
masterfrom
php86

Conversation

@vjik

@vjik vjik commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Summary by Sourcery

Extend the library's supported PHP range through PHP 8.6 and align validation, documentation, and tests with the updated compatibility policy.

New Features:

  • Add PHP 8.6 to the supported and tested runtime matrix.

Enhancements:

  • Update the package PHP requirement and user-facing requirements to support PHP 8.6.
  • Adjust compatibility and dependency analysis workflows for the updated PHP support range.
  • Improve PostgreSQL mutex test mocking to accept either advisory-lock query.

CI:

  • Expand CI coverage across supported PHP versions using PostgreSQL 13.
  • Update backward-compatibility checks to run against PHP 8.5 and dependency analysis to include PHP 8.6.

Documentation:

  • Document support for PHP versions 7.4 through 8.6.

@sourcery-ai

sourcery-ai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Constrain the package to PHP 7.4–8.6 and update CI workflows to check PHP 8.6 and the intended PostgreSQL matrix.

  • .github/workflows/bc.yml L20
  • .github/workflows/build.yml L42-63
  • .github/workflows/composer-dependency-analyser.yml L27
  • composer.json L30

Documentation

Update the README requirements and changelog to document the new PHP compatibility range.

  • CHANGELOG.md L6
  • README.md L20

Tests

Adjust the PostgreSQL mutex test mock to accept either advisory-lock query while retaining the expected call count.

  • tests/PgsqlMutexKeyTest.php L40-48

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4728cff) to head (82bb07f).

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #61   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity         7         7           
===========================================
  Files              2         2           
  Lines             26        26           
===========================================
  Hits              26        26           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vjik
vjik merged commit 483fde0 into master Nov 22, 2026
38 checks passed
@vjik
vjik deleted the php86 branch November 22, 2026 08:02
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.

1 participant