-
Notifications
You must be signed in to change notification settings - Fork 100
PHP 8.4: Implicitly nullable parameters deprecated #158
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
Conversation
Update functions.php
@cboden do you mind reviewing this? Do you plan to continue maintaining this project or should we fork it? |
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. |
@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. |
Would be great to see some motion here... |
Conaidering it involve version unsupported for ages, these shouldn't stopped from supporting modern versions. People stuck many years behind should have locked their old composer file anyway. |
FWIW |
ok @cboden now when there is a new version of https://github.com/ratchetphp/RFC6455, can you please accept this? thank you. |
@valzargaming can you please change ratchet/rfc6455 to 0.4 ? |
@valzargaming can you also merge actual master branch? because now it's crashing due to error Fatal error: Uncaught ArgumentCountError: Too few arguments to function Ratchet\RFC6455\Handshake\ClientNegotiator::__construct(), 0 passed in /var/www/html/vendor/ratchet/pawl/src/Connector.php on line 28 and at least 1 expected in /var/www/html/vendor/ratchet/rfc6455/src/Handshake/ClientNegotiator.php:15 which was probably fixed here https://github.com/ratchetphp/Pawl/commits/master/ |
yep... perfect, seems working like a charm... and even tests passed... |
Thanks @valzargaming |
Implicitly marking parameters as nullable is deprecated, the explicit nullable type must be used instead