Closed eiriksm closed 2 months ago
Can we add PHP 8.4 to the CI, too?
Can we add PHP 8.4 to the CI, too?
done :nerd_face:
Fixes similar to https://github.com/php-http/httplug/pull/176 are needed.
added the "emulate php 8.3" part, but not sure which tweak is needed to fix phpcs. Which by the way should probably be a separate PR, as it does not relate to the changes in this PR
The tweak is needed to get it to pass, because the symfony ruleset has changed and the php-cs-fixer version is not pinned.
i updated the cs fixer and apply the fixes in #248. that includes the ?
for nullable parameters.
can you please rebase on the 2.x branch? that should make the cs fixer green.
✅
amazing. thank you so much for being so responsive :smile:
Any chance we could also cut a new release with this change? :nerd_face:
thanks for contributing. i tagged the release: https://github.com/php-http/client-common/releases/tag/2.7.2
What's in this PR?
This PR makes the implicit nullable type explicit. Using implicit nullable types has been deprecated, and will emit deprecation warnings in PHP 8.4
Why?
To avoid getting deprecation warnings in PHP 8.4
Checklist