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 type declarations for PHP 8.4 compatibility #218

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jonkerw85
Copy link
Contributor

@jonkerw85 jonkerw85 commented Mar 18, 2025

This PR addresses:

  • Nullable type declarations to ensure compatibility with PHP 8.4 using the PHP CS Fixer rule nullable_type_declaration_for_default_null_value.
  • Visibility declaration for methods and properties using the PHP CS Fixer rule visibility_required.

@jonkerw85
Copy link
Contributor Author

@NattyNarwhal I would also like to apply the rule visibility_required. I found that some properties or methods have not declared their visibility.

@NattyNarwhal
Copy link
Collaborator

@NattyNarwhal I would also like to apply the rule visibility_required. I found that some properties or methods have not declared their visibility.

Please do! I think there's a few sketchy cases like that.

@jonkerw85 jonkerw85 force-pushed the implicitly-nullable-types branch from 75bf4bf to 71df096 Compare March 19, 2025 16:42
@jonkerw85
Copy link
Contributor Author

@NattyNarwhal I have added them to this PR :).

What is the process for merging these changes? I see that you have approved this PR as well as PR #217, but they have not been merged yet. Additionally, PR #216 is still awaiting review.

@NattyNarwhal
Copy link
Collaborator

Giving other people a chance to review these; for #216 we'll want to test on i.

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