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

Fix implicit nullable types to avoid PHP 8.4 warnings #1144

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

eiriksm
Copy link
Contributor

@eiriksm eiriksm commented Sep 23, 2024

No description provided.

Copy link
Contributor

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's necessary to also run the CI on PHP 8.4.

@eiriksm
Copy link
Contributor Author

eiriksm commented Sep 23, 2024

It's necessary to also run the CI on PHP 8.4.

Done

@GrahamCampbell
Copy link
Contributor

Looks like there are more issues to fix. It may be easier to enable the php-cs-fixer rule that adds the ? for you, to catch them all.

@eiriksm
Copy link
Contributor Author

eiriksm commented Sep 23, 2024

👍

I am writing this on an airport before boarding my plane, so just mentioning that because I will get back to this 🤓

@GrahamCampbell
Copy link
Contributor

Looks like there are more downstream fixes that are needed first, to get this PR to pass.

@acrobat
Copy link
Collaborator

acrobat commented Sep 23, 2024

I've pushed some extra changes to fix most of the remaining issues. The deprecations in Http\Client\Common\HttpMethodsClient are fixed upstream but not yet releases. The http mock client still needs changes for this deprecation. I'm going to merge this PR for now as our code is deprecation free on php 8.4

@acrobat acrobat merged commit 00ab97b into KnpLabs:master Sep 23, 2024
11 checks passed
@acrobat
Copy link
Collaborator

acrobat commented Sep 23, 2024

Thank you @eiriksm

@eiriksm
Copy link
Contributor Author

eiriksm commented Sep 23, 2024

Wow awesome thanks for the very fast response

Would it also be possible to cut a new release with this included do you think? 🤓

@eiriksm eiriksm deleted the fix/php-84 branch September 23, 2024 18:51
@acrobat
Copy link
Collaborator

acrobat commented Sep 23, 2024

@eiriksm
Copy link
Contributor Author

eiriksm commented Sep 23, 2024

My gratitude is deep and sincere ♥️

Thanks for being an open source maintainer, and a great one at that 🚀

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

Successfully merging this pull request may close these issues.

3 participants