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

A more advanced PHP implementation of the JSONRPC Protocol 📞❗

Results 17 php-advanced-json-rpc issues
Sort by recently updated
recently updated
newest added
trafficstars

https://wiki.php.net/rfc/union_types_v2 was merged. This introduces `ReflectionUnionType extends ReflectionType`. https://wiki.php.net/rfc/union_types_v2#reflection - ReflectionUnionType->getTypes() should be used if it exists. (similar to how phpdoc union types are used). The existing code wouldn't work,...

help wanted

It's annoying and surprising to have to type `@param string|null` instead of `@param ?string`. Checking if the first character of a type is `?` and stripping that (and adding null)...

help wanted

http://www.jsonrpc.org/specification#batch

help wanted

Might even switch to phpDocumentor/reflection

help wanted

Additionally provided params should simply be ignored to not break servers if a protocol adds new parameters.

help wanted
tests

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