Skip to content

Comments

Update test environment to fix tests on legacy PHP 7.2 with PHPUnit 8.5#42

Merged
clue merged 1 commit intoclue:1.xfrom
clue-labs:phpunit8
Feb 21, 2026
Merged

Update test environment to fix tests on legacy PHP 7.2 with PHPUnit 8.5#42
clue merged 1 commit intoclue:1.xfrom
clue-labs:phpunit8

Conversation

@clue
Copy link
Owner

@clue clue commented Feb 21, 2026

This changeset updates the test environment to fix tests on legacy PHP 7.2 with PHPUnit 8.5. This is needed to run the tests on legacy platforms due to recent upstream changes as discussed in clue/reactphp-redis#180.

Builds on top of clue/reactphp-redis#180 and #28 and others

@clue clue added this to the v1.4.0 milestone Feb 21, 2026
@clue clue requested a review from Copilot February 21, 2026 18:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s CI/test tooling to keep PHPUnit running on legacy PHP 7.2, aligning the Composer dev dependency range and CI invocation with the intended PHPUnit version split across PHP versions.

Changes:

  • Expand require-dev PHPUnit constraint to include PHPUnit ^8.5 for PHP 7.2 compatibility.
  • Simplify GitHub Actions CI PHPUnit invocation by inlining the legacy config selection into a single command.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
composer.json Adds PHPUnit ^8.5 to support running tests on PHP 7.2 while preserving existing supported ranges.
.github/workflows/ci.yml Consolidates PHPUnit run steps and conditionally applies phpunit.xml.legacy for PHP < 7.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@clue clue merged commit a859299 into clue:1.x Feb 21, 2026
19 checks passed
@clue clue deleted the phpunit8 branch February 21, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant