Skip to content

Comments

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

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

Update test environment to fix tests on legacy PHP 7.2 with PHPUnit 8.5#86
clue merged 1 commit intoclue:mainfrom
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 #65 and others

@clue clue added this to the v1.3.0 milestone Feb 21, 2026
@clue clue requested a review from Copilot February 21, 2026 18:17
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 test tooling to ensure the test suite can run on legacy PHP 7.2 by allowing installation of PHPUnit 8.5 and simplifying CI’s PHPUnit invocation.

Changes:

  • Expand require-dev PHPUnit constraint to include ^8.5 (enables PHPUnit on PHP 7.2).
  • Simplify CI PHPUnit execution into a single step that conditionally uses phpunit.xml.legacy for PHP < 7.3.

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.
.github/workflows/ci.yml Condenses PHPUnit runs into one conditional command selecting the legacy config for older PHP versions.

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

@clue clue merged commit 0b93b30 into clue:main Feb 21, 2026
19 checks passed
@clue clue deleted the phpunit8 branch February 21, 2026 18:27
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