Passed
Push — master ( 0957be...39b760 )
by Gaetano
05:57
created
demo/server/server.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * Please _do not_ copy this file verbatim into your production server.
10 10
  */
11 11
 
12
-require_once __DIR__ . "/_prepend.php";
12
+require_once __DIR__."/_prepend.php";
13 13
 
14 14
 use PhpXmlRpc\PhpXmlRpc;
15 15
 use PhpXmlRpc\Response;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     ),
62 62
     // Greek word 'kosme'. NB: NOT a valid ISO8859 string!
63 63
     // NB: we can only register this when setting internal encoding to UTF-8, or it will break system.listMethods
64
-    "tests.utf8methodname." . 'κόσμε' => array(
64
+    "tests.utf8methodname.".'κόσμε' => array(
65 65
         "function" => "stringEcho",
66 66
         "signature" => $stringecho_sig,
67 67
         "docstring" => $stringecho_doc,
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         } elseif ($_GET['FORCE_AUTH'] == 'Digest') {
114 114
             if (empty($_SERVER['PHP_AUTH_DIGEST'])) {
115 115
                 header('HTTP/1.1 401 Unauthorized');
116
-                header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="' . uniqid() . '",opaque="' . md5('Phpxmlrpc Digest Realm') . '"');
116
+                header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="'.uniqid().'",opaque="'.md5('Phpxmlrpc Digest Realm').'"');
117 117
                 die('Text visible if user hits Cancel button');
118 118
             }
119 119
         }
Please login to merge, or discard this patch.