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

[2.x] Fix implicitly nullable parameter for PHP 8.4 compatibility #24

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

GromNaN
Copy link

@GromNaN GromNaN commented Sep 18, 2024

PHP 8.4 deprecates implicit nullable parameter. This fix is for the branch 2.x. There is no issue on branch 3.x.

@GromNaN GromNaN changed the title Fix implicitly nullable parameter for PHP 8.4 compatibility [2.x] Fix implicitly nullable parameter for PHP 8.4 compatibility Sep 18, 2024
@Bilge
Copy link

Bilge commented Sep 18, 2024

That's epic, dude, but what makes you think 2.x is supposed to support 8.4?

@kelunik kelunik merged commit 0301d68 into amphp:2.x Sep 19, 2024
11 checks passed
@kelunik
Copy link
Member

kelunik commented Sep 19, 2024

@Bilge What makes you think it's not?

@GromNaN GromNaN deleted the php84-nullable branch September 19, 2024 05:34
@GromNaN
Copy link
Author

GromNaN commented Sep 19, 2024

Thanks @kelunik.

That's epic, dude, but what makes you think 2.x is supposed to support 8.4?

vimeo/psalm uses this library in version 2. No doubt there will be a project to update, but for the moment I'm concentrating on PHP 8.4 compatibility.

@kelunik
Copy link
Member

kelunik commented Sep 19, 2024

Tagged as v2.0.1: https://github.com/amphp/phpunit-util/releases/tag/v2.0.1

@Bilge
Copy link

Bilge commented Sep 19, 2024

@Bilge What makes you think it's not?

Because coroutines are a concluded experiment and anyone on 8.1 should be using fibers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants