Passed
Push — master ( ae5a85...67ed62 )
by Gaetano
24:17
created
demo/client/mail.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php require_once __DIR__ . "/_prepend.php"; ?><html lang="en">
1
+<?php require_once __DIR__."/_prepend.php"; ?><html lang="en">
2 2
 <head><title>xmlrpc - Mail demo</title></head>
3 3
 <body>
4 4
 <h1>Mail demo</h1>
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 <?php
15 15
 
16 16
 // Use the custom class autoloader. These two lines not needed when the phpxmlrpc library is installed using Composer
17
-include_once __DIR__ . "/../../src/Autoloader.php";
17
+include_once __DIR__."/../../src/Autoloader.php";
18 18
 PhpXmlRpc\Autoloader::register();
19 19
 
20 20
 if (isset($_POST["mailto"]) && $_POST["mailto"]) {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
         print "<font color=\"red\">";
39 39
         print "Mail send failed<br/>\n";
40 40
         print "Fault: ";
41
-        print "Code: " . htmlspecialchars($resp->faultCode()) .
42
-            " Reason: '" . htmlspecialchars($resp->faultString()) . "'<br/>";
41
+        print "Code: ".htmlspecialchars($resp->faultCode()).
42
+            " Reason: '".htmlspecialchars($resp->faultString())."'<br/>";
43 43
         print "</font><br/>";
44 44
     }
45 45
 }
@@ -57,4 +57,4 @@  discard block
 block discarded – undo
57 57
     <input type="Submit" value="Send"/>
58 58
 </form>
59 59
 </body>
60
-</html><?php require_once __DIR__ . "/_append.php"; ?>
60
+</html><?php require_once __DIR__."/_append.php"; ?>
Please login to merge, or discard this patch.