Skip to content

[3.x] Improve PHP 8.5+ support by avoiding deprecated method calls in tests - #186

Merged
clue merged 3 commits into
reactphp:3.xfrom
WyriHaximus-secret-labs:3.x-PHP8.5
Oct 3, 2026
Merged

clue merged 3 commits into
reactphp:3.xfrom
WyriHaximus-secret-labs:3.x-PHP8.5

Conversation

@WyriHaximus

Copy link
Copy Markdown
Member

This changeset improves PHP 8.5+ support by porting #185 from 1.x to 3.x.

Builds on #177, #181, and many others.

@WyriHaximus WyriHaximus added this to the v3.0.0 milestone Nov 18, 2025
@WyriHaximus
WyriHaximus requested a review from clue November 18, 2025 16:29
@WyriHaximus

Copy link
Copy Markdown
Member Author

As with #185 had to kick the build a few times as GitHub and possibly the Internet (due to CloudFlare) is glitchy tonight.

@clue clue changed the title [3.x] Improve PHP 8.5+ support by avoiding deprecated method calls [3.x] Improve PHP 8.5+ support by avoiding deprecated method calls in tests Nov 18, 2025
Comment thread tests/WritableResourceStreamTest.php Outdated
While I couldn't pin it to the exact commit/PR/NEWS/UPGRADING item, PHP8.5 has seen a number of improvements to streams to make them less buggy. As a result, this test, which already confirmed the expected behavior is now failing because an error is tossed.

@clue clue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WyriHaximus Thanks for the update, changes LGTM! :shipit:

@clue
clue merged commit fbbee0a into reactphp:3.x Oct 3, 2026
20 checks passed
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.

2 participants