Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented May 16, 2024

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
Copy link
Member

@SimonFringsSimonFrings left a comment

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 👍

@WyriHaximusWyriHaximus merged commit 212e923 into reactphp:3.xMay 17, 2024
@clueclue 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