Skip to content

[1.x] Improve PHP 8.4+ support by avoiding implicitly nullable types#537

Merged
WyriHaximus merged 1 commit into
reactphp:1.xfrom
clue-labs:nullable-v1
Aug 18, 2024
Merged

[1.x] Improve PHP 8.4+ support by avoiding implicitly nullable types#537
WyriHaximus merged 1 commit into
reactphp:1.xfrom
clue-labs:nullable-v1

Conversation

@clue

@clue clue commented Aug 9, 2024

Copy link
Copy Markdown
Member

This changeset backports #536 from 3.x to 1.x to improve PHP 8.4+ support by avoiding implicitly nullable types as discussed in reactphp/promise#260. The same idea applies, but v1 requires manual type checks to support legacy PHP versions as the nullable type syntax requires PHP 7.1+ otherwise.

Builds on top of #536, #508, #410, reactphp/promise#260, reactphp/socket#317, reactphp/stream#179, reactphp/async#87 and reactphp/promise-timer#70

@clue clue added this to the v1.11.0 milestone Aug 9, 2024
@clue clue requested a review from WyriHaximus August 9, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants