Skip to content

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

Merged
clue merged 1 commit into
clue:1.xfrom
clue-labs:phpunit8
Oct 25, 2026
Merged

clue merged 1 commit into
clue:1.xfrom
clue-labs:phpunit8

Conversation

@clue

@clue clue commented Oct 25, 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. It also drops the leftover PHPUnit 6 constraint, so legacy PHP 7.0 and PHP 7.1 now use PHPUnit 5.7 like our other projects.

Builds on top of #25, #15 and clue/reactphp-redis#180

@clue clue added this to the v1.3.0 milestone Oct 25, 2026
@clue
clue requested a balanced review from Copilot October 25, 2026 00:37

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 dependency update matches the intended compatibility requirements, and the consolidated CI command preserves existing configuration selection.

No open issues 🎉

What changed in this PR

This PR updates the test environment for legacy PHP compatibility without changing runtime code.

Changes:

  • Adds PHPUnit 8.5 support for PHP 7.2 and removes PHPUnit 6, allowing PHP 7.0–7.1 to use PHPUnit 5.7.
  • Consolidates the CI test commands while preserving legacy configuration selection for PHP versions below 7.3.
File Description
composer.json Updates PHPUnit constraints for legacy PHP compatibility.
.github/​workflows/​ci.yml Combines PHPUnit commands with conditional configuration selection.

Review effort: Balanced

@clue
clue merged commit e6135c4 into clue:1.x Oct 25, 2026
15 checks passed
@clue
clue deleted the phpunit8 branch October 25, 2026 00:40
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