Skip to content

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

Merged
clue merged 1 commit into
clue:1.xfrom
clue-labs:phpunit8
May 27, 2026
Merged

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

Conversation

@clue
Copy link
Copy Markdown
Owner

@clue clue commented May 27, 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 #42 and others

@clue clue added this to the v1.5.0 milestone May 27, 2026
@clue clue requested a review from Copilot May 27, 2026 08:50
Copy link
Copy Markdown

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

This PR updates the project’s development/test dependencies and CI workflow so the test suite can run on legacy PHP 7.2 by allowing PHPUnit 8.5 and re-enabling PHP 7.2 in the GitHub Actions matrix.

Changes:

  • Allow installing phpunit/phpunit v8.5 in require-dev to support PHP 7.2.
  • Re-enable PHP 7.2 in the CI matrix.
  • Simplify the CI PHPUnit invocation to conditionally use phpunit.xml.legacy for PHP versions below 7.3.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
composer.json Expands PHPUnit dev requirement to include ^8.5 for PHP 7.2 compatibility.
.github/workflows/ci.yml Re-adds PHP 7.2 to CI and consolidates PHPUnit command with a conditional legacy config flag.

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

@clue clue merged commit 4d3ca78 into clue:1.x May 27, 2026
13 checks passed
@clue clue deleted the phpunit8 branch May 27, 2026 08:53
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