@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * `$functions_parameters_type` and `$exception_handling` |
10 | 10 | */ |
11 | 11 | |
12 | -require_once __DIR__ . "/_prepend.php"; |
|
12 | +require_once __DIR__."/_prepend.php"; |
|
13 | 13 | |
14 | 14 | use PhpXmlRpc\Response; |
15 | 15 | use PhpXmlRpc\Server; |
@@ -94,12 +94,12 @@ discard block |
||
94 | 94 | |
95 | 95 | $addComment_sig = array(array(Value::$xmlrpcInt, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString)); |
96 | 96 | |
97 | -$addComment_doc = 'Adds a comment to an item. The first parameter is the item ID, the second the name of the commenter, ' . |
|
97 | +$addComment_doc = 'Adds a comment to an item. The first parameter is the item ID, the second the name of the commenter, '. |
|
98 | 98 | 'and the third is the comment itself. Returns the number of comments against that ID.'; |
99 | 99 | |
100 | 100 | $getComments_sig = array(array(Value::$xmlrpcArray, Value::$xmlrpcString)); |
101 | 101 | |
102 | -$getComments_doc = 'Returns an array of comments for a given ID, which is the sole argument. Each array item is a struct ' . |
|
102 | +$getComments_doc = 'Returns an array of comments for a given ID, which is the sole argument. Each array item is a struct '. |
|
103 | 103 | 'containing name and comment text.'; |
104 | 104 | |
105 | 105 | $srv = new Server(array( |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * Please _do not_ copy this file verbatim into your production server. |
11 | 11 | */ |
12 | 12 | |
13 | -require_once __DIR__ . "/_prepend.php"; |
|
13 | +require_once __DIR__."/_prepend.php"; |
|
14 | 14 | |
15 | 15 | use PhpXmlRpc\PhpXmlRpc; |
16 | 16 | use PhpXmlRpc\Server; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } elseif ($_GET['FORCE_AUTH'] == 'Digest') { |
70 | 70 | if (empty($_SERVER['PHP_AUTH_DIGEST'])) { |
71 | 71 | header('HTTP/1.1 401 Unauthorized'); |
72 | - header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="' . uniqid() . '",opaque="' . md5('Phpxmlrpc Digest Realm') . '"'); |
|
72 | + header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="'.uniqid().'",opaque="'.md5('Phpxmlrpc Digest Realm').'"'); |
|
73 | 73 | die('Text visible if user hits Cancel button'); |
74 | 74 | } |
75 | 75 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | |
92 | 92 | // Greek word 'kosme'. NB: NOT a valid ISO8859 string! |
93 | 93 | // NB: we can only register this when setting internal encoding to UTF-8, or it will break system.listMethods |
94 | - "tests.utf8methodname." . 'κόσμε' => array( |
|
94 | + "tests.utf8methodname.".'κόσμε' => array( |
|
95 | 95 | "function" => "\\exampleMethods::stringEcho", |
96 | 96 | "signature" => exampleMethods::$stringecho_sig, |
97 | 97 | "docstring" => exampleMethods::$stringecho_doc, |