Skip to content

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

Merged
clue merged 1 commit into
clue:masterfrom
clue-labs:phpunit8
Oct 18, 2026
Merged

clue merged 1 commit into
clue:masterfrom
clue-labs:phpunit8

Conversation

@clue

@clue clue commented Oct 18, 2026

Copy link
Copy Markdown
Owner

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 #23 and clue/reactphp-redis#180

@clue clue added this to the v0.3.0 milestone Oct 18, 2026
@clue
clue requested a balanced review from Copilot October 18, 2026 12:59

Copilot AI 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.

🟢 Approval recommended

The focused compatibility changes preserve existing test behavior and have no identified blocking issues.

No open issues 🎉

What changed in this PR

Updates the test environment to support legacy PHP 7.2 with PHPUnit 8.5.

Changes:

  • Allows PHPUnit 8.5 as a development dependency.
  • Corrects PHPUnit compatibility comments without changing helper behavior.
  • Consolidates CI test commands while preserving legacy configuration selection.
File Description
tests/​TestCase.php Corrects PHPUnit version ranges in comments.
composer.json Adds PHPUnit 8.5 to supported dependency versions.
.github/​workflows/​ci.yml Combines conditional PHPUnit commands into one step.

Review effort: Balanced

@clue
clue merged commit 05d7dce into clue:master Oct 18, 2026
14 checks passed
@clue
clue deleted the phpunit8 branch October 18, 2026 13:02
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.

2 participants