Skip to content

Commit

Permalink
fix compatibility with recent versions of phpxmlrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Apr 16, 2024
1 parent 1ef917b commit 7aedeb5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## XML-RPC for PHP EXTRAS version 1.0-beta4 - 2024/4/16

- fixed: a php warning emitted by class `ReverseProxy` because of compatibility with its parent class

- bumped the minimum required version of phpxmlrpc/phpxmlrpc to 4.10.1


## XML-RPC for PHP EXTRAS version 1.0-beta3 - 2024/4/15

- bumped the minimum required version of php to 5.4
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"keywords": [ "xmlrpc", "webservices", "jsonrpc" ],
"require": {
"php": "^5.4.0 || ^7.0 || ^8.0",
"phpxmlrpc/phpxmlrpc": "^4.10.0"
"phpxmlrpc/phpxmlrpc": "^4.10.1"
},
"require-dev": {
"ext-curl": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/ReverseProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function acquireServerMethods($methodList = null)
}

// avoid checking for existing methods while parsing the request
public function methodNameCallback($methodName, $xmlParser, $parser)
public function methodNameCallback($methodName, $xmlParser, $parser = null)
{
}
}

0 comments on commit 7aedeb5

Please sign in to comment.