Skip to content

[1.x] Improve PHP 8.5+ support by avoiding deprecated method calls - #282

Merged
clue merged 4 commits into
reactphp:1.xfrom
WyriHaximus-labs:1.x-php-8.5
Nov 17, 2025
Merged

[1.x] Improve PHP 8.5+ support by avoiding deprecated method calls#282
clue merged 4 commits into
reactphp:1.xfrom
WyriHaximus-labs:1.x-php-8.5

Conversation

@WyriHaximus

@WyriHaximusWyriHaximus commented Nov 8, 2025

Copy link
Copy Markdown
Member

This PR adds support for PHP8.5 by running against PHP8.5 on CI and ensuring the code is compatible with PHP8.5.

Builds on #280, #196, and many others.

@WyriHaximusWyriHaximus added this to the v1.6.0 milestone Nov 8, 2025
@WyriHaximus
WyriHaximus requested a review from clueNovember 8, 2025 22:33
@WyriHaximusWyriHaximus changed the title [1.x] Run CI jobs on PHP8.5[1.x] Support PHP8.5Nov 8, 2025
@WyriHaximusWyriHaximus changed the title [1.x] Support PHP8.5[1.x] Improve PHP8.5+ supportNov 10, 2025
In PHP8.5 the SplObjectStorage::contains, SplObjectStorage::attach, and SplObjectStorage::detach methods have been deprecated through https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach
@clueclue changed the title [1.x] Improve PHP8.5+ support[1.x] Improve PHP 8.5+ support by avoiding deprecated method callsNov 17, 2025

@clueclue 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 78a5d4e into reactphp:1.xNov 17, 2025
41 checks passed
@WyriHaximus
WyriHaximus deleted the 1.x-php-8.5 branch November 17, 2025 20:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@WyriHaximus@clue