Skip to content

Comments

Run tests on PHP 8.5 and update test environment#43

Merged
clue merged 1 commit intoclue:1.xfrom
clue-labs:php8.5
Feb 21, 2026
Merged

Run tests on PHP 8.5 and update test environment#43
clue merged 1 commit intoclue:1.xfrom
clue-labs:php8.5

Conversation

@clue
Copy link
Owner

@clue clue commented Feb 21, 2026

@clue clue added this to the v1.4.0 milestone Feb 21, 2026
@clue clue requested a review from Copilot February 21, 2026 18:30
Copy link

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 pull request updates the test environment and CI configuration to support PHP 8.5 and improve compatibility with recent PHP versions. It builds upon several related PRs that improve PHP 8.4+ support and fix test environment issues on legacy PHP versions.

Changes:

  • Modified reflection property access in tests to be compatible with PHP 8.1+ by conditionally calling setAccessible() only for PHP < 8.1
  • Updated dependency versions for react/event-loop, react/promise, and react/socket to newer versions with PHP 8.5 support
  • Added PHP 8.5 to the CI test matrix and updated GitHub Actions checkout action to v6

Reviewed changes

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

File Description
tests/ConnectionManagerTimeoutTest.php Added PHP version check to conditionally call setAccessible() only for PHP < 8.1
tests/ConnectionManagerDelayTest.php Added PHP version check to conditionally call setAccessible() only for PHP < 8.1
composer.json Updated dependency versions for event-loop (^1.6), promise (^3.3), and socket (^1.17) to support PHP 8.5
.github/workflows/ci.yml Added PHP 8.5 to test matrix and updated actions/checkout to v6

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

@clue clue merged commit fa80702 into clue:1.x Feb 21, 2026
20 checks passed
@clue clue deleted the php8.5 branch February 21, 2026 18:36
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.

1 participant