Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Jan 11, 2026

@clue clue added this to the v1.8.0 milestone Jan 11, 2026
@clue clue requested a review from Copilot January 11, 2026 22:20
@clue clue added the new feature New feature or request label Jan 11, 2026
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 PR adds support for testing on PHP 8.5 and updates the CI environment to use Windows 2025. It also updates reflection API usage to be compatible with PHP 8.1+ where setAccessible() is no longer required for accessing private/protected members.

Changes:

  • Added PHP 8.5 to the CI test matrix
  • Updated Windows runner from windows-2022 to windows-2025
  • Wrapped all setAccessible(true) calls with PHP version checks to avoid deprecation warnings on PHP 8.1+
  • Updated dependency versions for react/child-process, react/event-loop, and react/promise

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/ci.yml Added PHP 8.5 to test matrix and updated Windows runner to 2025
composer.json Updated dependency versions for react packages to support PHP 8.5
tests/Io/ProcessIoDatabaseTest.php Added PHP version checks around setAccessible() calls for PHP 8.1+ compatibility
tests/FunctionalFactoryTest.php Added PHP version checks around setAccessible() calls for PHP 8.1+ compatibility
tests/FunctionalDatabaseTest.php Added PHP version checks around setAccessible() calls for PHP 8.1+ compatibility
tests/FactoryTest.php Added PHP version checks around setAccessible() calls for PHP 8.1+ compatibility

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

@clue clue merged commit c1bf2a3 into clue:1.x Jan 11, 2026
27 checks passed
@clue clue deleted the php8.5 branch January 11, 2026 22:32
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.

1 participant