Skip to content

Update test environment to make tests pass again#42

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

Update test environment to make tests pass again#42
clue merged 1 commit into
clue:1.xfrom
clue-labs:update-tests

Conversation

@clue
Copy link
Copy Markdown
Owner

@clue clue commented May 27, 2026

Builds on top of #39, #22, reactphp/socket#305 and others
Supersedes parts of #41/#40

@clue clue added this to the v1.5.0 milestone May 27, 2026
@clue clue requested a review from Copilot May 27, 2026 08:41
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 test tooling and CI configuration so the PHPUnit test suite can run reliably again across supported runtimes (including legacy PHP and HHVM), aligning configuration with newer PHPUnit and workflow environments.

Changes:

  • Update PHPUnit config schema references (legacy + modern) and align composer dev requirement to PHPUnit ^9.6.
  • Add react/promise-timer as a dev dependency to support timer helpers used in tests.
  • Refresh CI workflow environment (Ubuntu version, checkout action) and adjust HHVM execution to run via Docker.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
phpunit.xml.legacy Generalizes legacy PHPUnit config comment wording.
phpunit.xml.dist Updates modern PHPUnit schema reference to 9.6.
composer.json Bumps PHPUnit dev constraint, adds react/promise-timer, and reformats autoload blocks.
.github/workflows/ci.yml Moves CI to Ubuntu 24.04, adjusts PHP matrix, updates checkout action, and reworks HHVM steps to use Docker.

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

Comment thread .github/workflows/ci.yml
@clue clue merged commit c9f250b into clue:1.x May 27, 2026
12 checks passed
@clue clue deleted the update-tests branch May 27, 2026 08:48
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