Skip to content

[3.x] Improve PHP 8.4+ support by avoiding implicitly nullable types - #177

Merged
WyriHaximus merged 1 commit into
reactphp:3.xfrom
clue-labs:nullable-v3
May 17, 2024
Merged

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

Conversation

@clue

@clueclue commented May 16, 2024

Copy link
Copy Markdown
Member

This changeset improves PHP 8.4+ support by avoiding implicitly nullable types as discussed in reactphp/promise#260.

I'm planning to add native types to the public API and introduce PHPStan in follow-up PRs.

Once merged, we should apply similar changes to all our upcoming v3 components. On top of this, we should backport similar changes to the v1 branch.

Builds on top of #175, #159 and reactphp/promise#260

@clueclue added this to the v3.0.0 milestone May 16, 2024

@SimonFringsSimonFrings 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.

Makes sense, looks good to me 👍

@WyriHaximus
WyriHaximus merged commit 212e923 into reactphp:3.xMay 17, 2024
@clue
clue deleted the nullable-v3 branch May 17, 2024 09:47
@clueclue mentioned this pull request May 17, 2024
@clueclue changed the title Improve PHP 8.4+ support by avoiding implicitly nullable types[3.x] Improve PHP 8.4+ support by avoiding implicitly nullable typesMay 21, 2024
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.

3 participants

@clue@WyriHaximus@SimonFrings