Skip to content

Conversation

nicolas-grekas
Copy link

Branch 1.x is the one we can use with Symfony HttpClient at the moment

@Bilge
Copy link
Contributor

Bilge commented Mar 20, 2024

How is this an improvement?

@bwoebi
Copy link
Member

bwoebi commented Mar 20, 2024

@Bilge It will fix the deprecations of https://wiki.php.net/rfc/deprecate-implicitly-nullable-types in PHP 8.4.

@bwoebi
Copy link
Member

bwoebi commented Mar 20, 2024

@nicolas-grekas We sadly cannot trivially merge that into 1.x currently as the minimum supported version for the 1.x branch is 7.0, which doesn't know about nullable types.

I'm not sure what the best way forward here is.

@Bilge
Copy link
Contributor

Bilge commented Mar 20, 2024

Just increase the minimum supported version. Doing so does not require a new major.

@kelunik kelunik merged commit 83b1bd6 into amphp:1.x Mar 20, 2024
@kelunik
Copy link
Member

kelunik commented Mar 20, 2024

@nicolas-grekas Thanks!

@bwoebi The way forward is quite obvious: Increase the minimum version to 7.1 as we did in most libraries already, e.g. amphp/socket.

@nicolas-grekas nicolas-grekas deleted the explicit-nullable branch March 20, 2024 12:33
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.

4 participants