Skip to content

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

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 Unix domain socket (UDS) tests from #168 and #263 now expect the "Address already in use" message PHP 8.6 reports (php/php-src#21328). The TLS tests from #87 now clear OpenSSL errors after closing the connection, like done in reactphp/http#555.

The legacy PHP setup on Windows now uses Composer 2.2.30 for PHP < 5.5 instead of the insecure downloads from #306, as Composer 2.2.31+ fails there (composer/composer#13147), and installs VC 2012 for PHP 5.5 and PHP 5.6 until mlocati/powershell-phpmanager#142 is released.

Builds on top of #338, #330, #306, #263, #168, #87, reactphp/event-loop#282, reactphp/event-loop#267, reactphp/http#555 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