php-advanced-json-rpc
php-advanced-json-rpc copied to clipboard
A more advanced PHP implementation of the JSONRPC Protocol 📞❗
Some PHP 8+ coding standards require the specification of a typehint in all parameters of all functions, even if it's just a `mixed` typehint. Unfortunately, the library treats `mixed` typehints...
@closes #58
This PR adds: - A test to proof `@param ?string` is supported. This would resolve #13
This PR adds: - An additional test to proof dokblocks are being used when type hint is array. This will resolve #3
If you use the Dispatcher in a PHP8.2 Runtime you get a Deprecation Notice: ``` NOTICE: PHP message: PHP Deprecated: Creation of dynamic property AdvancedJsonRpc\Dispatcher::$mapper is deprecated ``` To avoid...
i got some issue when i call jsonrpc function that have some parameter that should be array like bellow `{ "jsonrpc": "2.0", "method": "createShippingVendor", "params": { "kode": "ARB", "nama": "Angkatan...
https://wiki.php.net/rfc/deprecate_dynamic_properties causes this to emit an E_DEPRECATION notice and this will throw in PHP 9.0 unless subclasses happen to declare that property as protected/public A private property was proposed because:...
This PR adds two new tests with additional parameters (one for a method without parameters at all and one for a method that has a single parameter). Both test are...
This draft pull request shows a rough implementation of how php-advanced-json-rpc could use PhpDocumentor Reflection. In order to resolve #9. I've added this PR to have a more constructive discussion...