Skip to content
Permalink
Branch: master
Commits on Apr 16, 2019
Commits on Apr 15, 2019
  1. Remove some old references from the documentation

    scottchiefbaker committed Apr 15, 2019
    I'm not sure what this is trying to say. You can't **call** a
    function with an optional parameter like the one in the example.
    
    I did a test where I **defined** a function with an optional
    parameter:
    
        function null_test($a = null) {
            if ($a === null) {
                return "Yes NULL!";
            } else {
                return "Not NULL!";
            }
        }
    
    When I call this as `$client->null_test()` it reacts like I would
    expectit to. When I call it as `$client->null_test("hello")` it
    still responds like I would expect it to.
    
    Perhaps this is something that's fixed in more modern PHPs? I tested
    on PHP 7.1.
  2. Update README

    scottchiefbaker committed Apr 15, 2019
Commits on Aug 25, 2017
  1. Merge pull request #17 from b7kich/patch-1

    scottchiefbaker committed Aug 25, 2017
    fixed unintended class load
Commits on Aug 24, 2017
  1. fixed unintended class load

    b7kich committed Aug 24, 2017
    RuntimeException: The autoloader expected class "InvalidStateException" to be defined in file "./vendor/composer/../foglcz/jsonrpc2/lib/exceptions.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
Commits on Jan 18, 2017
  1. Make $s->foo = array($obj,$method) AND $s->foo = new myClass work

    scottchiefbaker committed Jan 18, 2017
    In dd6fbbb we broke array() calls,
    so this fixes that by attempting to call the method two different ways
Commits on Sep 27, 2016
  1. Don't error out on 'code 0'

    Scott Baker
    Scott Baker committed Sep 27, 2016
    Code 0 is any syntax or E_NOTICE error. Something as simple as:
    
    $foo = $i['foo'];
    
    where 'foo' isn't defined triggers code 0. This is too broad so we're
    rolling this change back
Commits on Aug 31, 2016
  1. Clarify an error message

    Scott Baker
    Scott Baker committed Aug 31, 2016
    This error can be triggered if the method is missing completely,
    or if the calling parameters are incorrect (wrong number of params)
  2. Merge branch 'master' of github.com:foglcz/JSONRpc2

    Scott Baker
    Scott Baker committed Aug 31, 2016
Commits on Aug 11, 2016
  1. More doc updates

    Scott Baker
    Scott Baker committed Aug 11, 2016
  2. Remove some redundant wording

    Scott Baker
    Scott Baker committed Aug 11, 2016
  3. Doc updates to support Markdown

    Scott Baker
    Scott Baker committed Aug 11, 2016
  4. Change file name

    Scott Baker
    Scott Baker committed Aug 11, 2016
  5. Documentation updates

    Scott Baker
    Scott Baker committed Aug 11, 2016
Commits on Mar 15, 2016
  1. Merge pull request #15 from hobrasoft-cz/master

    foglcz committed Mar 15, 2016
    Bugfix: Added compatibility with PHP 5.6
Commits on Dec 16, 2015
  1. Properly catch errors for uncallable functions

    Scott Baker
    Scott Baker committed Dec 16, 2015
  2. Fix methods like $server->foo = array($class,$method)

    Scott Baker
    Scott Baker committed Dec 16, 2015
Commits on Nov 23, 2015
Commits on Oct 30, 2015
  1. Merge branch 'master' of github.com:foglcz/JSONRpc2

    Scott Baker
    Scott Baker committed Oct 30, 2015
  2. Merge pull request #12 from hobrasoft-cz/master

    scottchiefbaker committed Oct 30, 2015
    Move weird JSON decode handling before processing of RPC version.
Commits on Jun 16, 2015
  1. Prepopulate last->method and last->params so error handling doesn't E…

    Scott Baker
    Scott Baker committed Jun 16, 2015
    …_NOTICE
Commits on Feb 11, 2015
  1. If you try and make a GET call, but it's disabled return a specific e…

    Scott Baker
    Scott Baker committed Feb 11, 2015
    …rror message
Commits on Jul 28, 2014
  1. Allow RPC calls via GET with a runtime flag

    Scott Baker
    Scott Baker committed Jul 28, 2014
  2. Merge branch 'master' of github.com:foglcz/JSONRpc2

    Scott Baker
    Scott Baker committed Jul 28, 2014
Commits on Jun 11, 2014
Commits on Feb 26, 2014
  1. If there is an error calling a method, throw another exception

    Scott Baker
    Scott Baker committed Feb 26, 2014
    to trickle up and we can trigger onError. Without this onSuccess
    fires even after non-existent methods
Commits on Feb 21, 2014
  1. Set the error_handling_level in the constructor

    Scott Baker
    Scott Baker committed Feb 21, 2014
  2. Version 1.1 clients send a "version" param

    Scott Baker
    Scott Baker committed Feb 21, 2014
  3. Clean up a bunch of trailing whitespace

    Scott Baker
    Scott Baker committed Feb 21, 2014
Older
You can’t perform that action at this time.