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 nullable declaration for php 8.4 #104

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Conversation

tacman
Copy link
Contributor

@tacman tacman commented Dec 9, 2024

No description provided.

@robbieaverill
Copy link
Collaborator

Hi @tacman, I mentioned in #105 that I'd prefer to wait for phpstan to support PHP 8.4. Your latest commit highlights its incompatibility.

If you were to revert that commit, we can merge the nullable type change. This would allow you or others to install this package on PHP 8.4 using a dev-master constraint, with --ignore-platform-reqs=php+ (assuming everything else works in 8.4).

What do you think?

@tacman
Copy link
Contributor Author

tacman commented Dec 9, 2024

great idea. I forgot about that option to ignore the php version.

@robbieaverill robbieaverill merged commit c74bfd1 into KnpLabs:master Dec 9, 2024
5 checks passed
@robbieaverill
Copy link
Collaborator

This fix is included in version v2.1.1

@tacman
Copy link
Contributor Author

tacman commented Dec 9, 2024

yep, working fine using the ignore option, thanks!

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.

2 participants