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

PHP 8.4: Implicitly nullable parameters deprecated #158

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

Conversation

valzargaming
Copy link

Implicitly marking parameters as nullable is deprecated, the explicit nullable type must be used instead

@danepowell
Copy link

@cboden do you mind reviewing this? Do you plan to continue maintaining this project or should we fork it?

@valzargaming
Copy link
Author

Another developer has stated they are considering dropping safe altogether as PHPStan is enough. shish/safe also seems to be maintained as an alternative package.

@mbonneau
Copy link
Member

mbonneau commented Dec 2, 2024

@danepowell I will take a look at this PR and ratchetphp/RFC6455#71

Right now, composer has a minimum PHP version at 5.4. Adding the explicit nullable parameter will require a minimum version bump to 7.1.

I have no problem changing the minimum version as long as it is good with @cboden.

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