From: gggeek Date: Mon, 16 Jan 2023 11:42:31 +0000 (+0000) Subject: comments X-Git-Tag: 4.10.0~156 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=16236aabe9601f3fd9a9f39b3d1ae7756dedb89f;p=plcapi.git comments --- diff --git a/src/Client.php b/src/Client.php index 09042169..14c9e52b 100644 --- a/src/Client.php +++ b/src/Client.php @@ -652,6 +652,7 @@ class Client /** * @deprecated + * * @param Request $req * @param string $server * @param int $port @@ -679,6 +680,7 @@ class Client /** * @deprecated + * * @param Request $req * @param string $server * @param int $port diff --git a/src/Helper/XMLParser.php b/src/Helper/XMLParser.php index c348867d..98b94297 100644 --- a/src/Helper/XMLParser.php +++ b/src/Helper/XMLParser.php @@ -430,6 +430,7 @@ class XMLParser * xml parser handler function for opening element tags. * Used in decoding xml chunks that might represent single xmlrpc values as well as requests, responses. * @deprecated + * * @param resource $parser * @param $name * @param $attrs @@ -437,6 +438,8 @@ class XMLParser */ public function xmlrpc_se_any($parser, $name, $attrs) { + //trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED); + $this->xmlrpc_se($parser, $name, $attrs, true); } diff --git a/src/Response.php b/src/Response.php index 5d297ab6..c3902325 100644 --- a/src/Response.php +++ b/src/Response.php @@ -235,6 +235,8 @@ class Response public function __isset($name) { + //trigger_error('checking property Response::' . $name . ' is deprecated', E_USER_DEPRECATED); + switch ($name) { case 'hdrs': return isset($this->httpResponse['headers']);