Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 17, 2024

Conversation

clue
Copy link
Member

@clue clue 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

@clue clue added this to the v3.0.0 milestone May 16, 2024
Copy link
Member

@SimonFrings SimonFrings 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 👍

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

None yet

3 participants