Skip to content

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

Merged
clue merged 1 commit into
ratchetphp:0.4.xfrom
clue-labs:phpunit8
May 31, 2026
Merged

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

Conversation

@clue

@clue clue commented May 25, 2026

Copy link
Copy Markdown
Member

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. This is part 14 of reviving Ratchet as discussed in #1054, unblocking more future progress.

Builds on top of clue/reactphp-redis#180 and #1099, #1092 and others

@clue clue added this to the 0.4.5 milestone May 25, 2026
@clue clue requested a review from Copilot May 25, 2026 20:24

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.

Pull request overview

Updates the project’s dev dependency constraints so the test suite can run on legacy PHP 7.2 by allowing installation of PHPUnit 8.5 (while still preferring newer PHPUnit versions on newer PHP runtimes).

Changes:

  • Expand require-dev PHPUnit version constraint to include ^8.5 for PHP 7.2 compatibility.

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

@clue clue merged commit 379d9c4 into ratchetphp:0.4.x May 31, 2026
14 checks passed
@clue clue deleted the phpunit8 branch May 31, 2026 19:32
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