Skip to content

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

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

clue merged 1 commit into
clue:mainfrom
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.

Builds on top of #65, #55, clue/reactphp-redis#180 and others

@clue clue added this to the v2.1.0 milestone Oct 25, 2026
@clue
clue requested a balanced review from Copilot October 25, 2026 12:00

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 dependency change supports PHP 7.2, and the consolidated CI command preserves the existing configuration selection with no identified blocking issues.

No open issues 🎉

What changed in this PR

Restores PHP 7.2 test coverage by allowing PHPUnit 8.5 and updating the existing CI workflow.

Changes:

  • Adds PHPUnit 8.5 to the allowed development dependency versions.
  • Re-enables PHP 7.2 in the CI matrix.
  • Consolidates PHPUnit execution while preserving legacy configuration selection and the internet-test exclusion.
File Description
composer.json Allows PHPUnit 8.5 alongside the existing supported versions.
.github/​workflows/​ci.yml Restores PHP 7.2 testing and consolidates the test command.

Review effort: Balanced

@clue
clue merged commit 46accce into clue:main Oct 25, 2026
4 checks passed
@clue
clue deleted the phpunit8 branch October 25, 2026 12:12
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