Skip to content

Add PHP 8.6 support - #91

Merged
vjik merged 1 commit into
masterfrom
php86
Nov 25, 2026
Merged

vjik merged 1 commit into
masterfrom
php86

Conversation

@vjik

@vjik vjik commented Nov 25, 2026 •

Copy link
Copy Markdown
Member
Q A
Is bugfix? ❌
New feature? ❌
Breaks BC? ❌

Summary by Sourcery

Add PHP 8.6 support across package requirements, documentation, and automated quality checks.

Enhancements:

  • Extend the package’s supported PHP range and validation coverage through PHP 8.6.

CI:

  • Run build, dependency analysis, static analysis, and mutation testing across PHP 8.6.

Documentation:

  • Update the documented PHP requirements and mutation-testing instructions.

@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Declare PHP 8.6 as supported in the package requirement and include it in the CI, static-analysis, dependency-analysis, and mutation-testing configurations.

  • .github/workflows/build.yml L31
  • .github/workflows/composer-dependency-analyser.yml L27
  • .github/workflows/mutation.yml L30
  • .github/workflows/static.yml L28
  • composer.json L32

Documentation

Document PHP 8.6 support in the changelog and package requirements.

  • CHANGELOG.md L6
  • README.md L20

Update the mutation-testing instructions to use Infection directly instead of the removed static-analysis plugin.

  • docs/internals.md L13-16

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

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9a98f23) to head (1d27013).

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #91   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        25        25           
===========================================
  Files              1         1           
  Lines             58        58           
===========================================
  Hits              58        58           

☔ 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.

@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 found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/internals.md" line_range="16" />
<code_context>

 ```shell
-./vendor/bin/roave-infection-static-analysis-plugin
+./vendor/bin/infection
 ```

</code_context>
<issue_to_address>
**Mutation command cannot run**

When a contributor follows the mutation-testing command using the repository’s tool setup, the root Composer dependencies do not include Infection; it is declared only in the isolated `tools/infection` tool, so `./vendor/bin/infection` is unavailable and the documented mutation test cannot start.

Point the instructions at the executable in `tools/infection/vendor/bin` and include any required tool-install step.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/internals.md:16


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

Comment thread docs/internals.md

```shell
./vendor/bin/roave-infection-static-analysis-plugin
./vendor/bin/infection

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · Mutation command cannot run

When a contributor follows the mutation-testing command using the repository’s tool setup, the root Composer dependencies do not include Infection; it is declared only in the isolated tools/infection tool, so ./vendor/bin/infection is unavailable and the documented mutation test cannot start.

Point the instructions at the executable in tools/infection/vendor/bin and include any required tool-install step.

Prompt for AI agents
In `docs/internals.md` at line 16:

**Mutation command cannot run**

When a contributor follows the mutation-testing command using the repository’s tool setup, the root Composer dependencies do not include Infection; it is declared only in the isolated `tools/infection` tool, so `./vendor/bin/infection` is unavailable and the documented mutation test cannot start.

Point the instructions at the executable in `tools/infection/vendor/bin` and include any required tool-install step.

@vjik
vjik merged commit 7573778 into master Nov 25, 2026
38 checks passed
@vjik
vjik deleted the php86 branch November 25, 2026 11:17
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