Skip to content

[1.x] Run tests on PHP 8.6 and update test environment - #555

Open
clue wants to merge 1 commit into
reactphp:1.xfrom
clue-labs:php8.6-v1
Open

clue wants to merge 1 commit into
reactphp:1.xfrom
clue-labs:php8.6-v1

Conversation

@clue

@clue clue commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

This changeset updates the test environment to run the test suite on PHP 8.6, like done in reactphp/stream#192.

The minimum react/event-loop version is now v1.6.0 with its PHP 8.5+ support (reactphp/event-loop#282), as versions before v1.5.0 use the spl_object_hash() function deprecated in PHP 8.6 (replaced by reactphp/event-loop#267). The MessageMock test class from #518 no longer returns a value from its constructor, as this is deprecated in PHP 8.6 (https://wiki.php.net/rfc/deprecate-return-value-from-construct). The HTTPS tests from #244, #173 and #167 now clear OpenSSL errors after closing the connection, as legacy PHP < 7.2 does not and would otherwise lose data with the newer OpenSSL on Ubuntu 26.04 (https://bugs.php.net/bug.php?id=78775).

Builds on top of #551, #547, #518, #244, #173, #167, reactphp/event-loop#282, reactphp/event-loop#267, reactphp/promise#264 and reactphp/stream#192

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