Skip to content

Run tests on PHP 8.5 and update test environment - #27

Merged
clue merged 1 commit into
clue:1.xfrom
clue-labs:php8.5
Oct 25, 2026
Merged

clue merged 1 commit into
clue:1.xfrom
clue-labs:php8.5

Conversation

@clue

@clue clue commented Oct 25, 2026

Copy link
Copy Markdown
Owner

This changeset updates the test environment to run the test suite on PHP 8.5, which deprecates the setAccessible() call used in our tests.

Builds on top of #26, #25, reactphp/datagram#62, reactphp/event-loop#282, and clue/framework-x#297

@clue clue added the new feature New feature or request label Oct 25, 2026
@clue clue added this to the v1.3.0 milestone Oct 25, 2026
@clue
clue requested a balanced review from Copilot October 25, 2026 11:32

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 focused compatibility updates have no identified blocking issues; tests were not executed during this review.

No open issues 🎉

What changed in this PR

Updates the test environment for PHP 8.5 while preserving compatibility with older supported PHP versions.

Changes:

  • Adds PHP 8.5 to CI and updates checkout actions to v7.
  • Calls setAccessible() only on PHP versions before 8.1, avoiding its PHP 8.5 deprecation.
  • Raises the minimum react/event-loop dependency to 1.6.
File Description
tests/​FunctionalTest.php Guards reflection accessibility calls by PHP version.
composer.json Updates the react/event-loop constraint to ^1.6.
.github/​workflows/​ci.yml Adds PHP 8.5 coverage and updates both checkout steps.

Review effort: Balanced

@clue
clue merged commit 6dd02a2 into clue:1.x Oct 25, 2026
16 checks passed
@clue
clue deleted the php8.5 branch October 25, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants