php-advanced-json-rpc icon indicating copy to clipboard operation
php-advanced-json-rpc copied to clipboard

fix: Implicitly nullable parameter types are deprecated in PHP 8.4

Open mpesari opened this issue 1 year ago • 2 comments

Implicitly nullable parameter types are deprecated in PHP 8.4

  • https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

?Type syntax was added in PHP 7.1, so there are no backward compatibility issues.

  • https://wiki.php.net/rfc/nullable_types

mpesari avatar Jan 13 '25 13:01 mpesari

This library is a Psalm dependency, and with Psalm's 6.0 release, these deprecation warnings cause the Psalm language server to crash: https://github.com/vimeo/psalm/issues/11211

Could this please be merged and released?

edsrzf avatar Jan 27 '25 20:01 edsrzf

Maybe good to know this repo seems unsupported. The sole maintainer doesn’t seem to be active anymore. Also see https://github.com/felixfbecker/php-advanced-json-rpc/pull/59#issuecomment-1581253698

DannyvdSluijs avatar Jan 28 '25 08:01 DannyvdSluijs