Passed
Push — master ( 8f5e25...b65a2a )
by Gaetano
14:17 queued 04:17
created
tests/legacy_ssl_test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@  discard block
 block discarded – undo
6 6
 
7 7
 echo "Legacy SSL Test\n\n";
8 8
 
9
-include_once __DIR__ . '/../lib/xmlrpc.inc';
9
+include_once __DIR__.'/../lib/xmlrpc.inc';
10 10
 
11
-include_once __DIR__ . '/parse_args.php';
11
+include_once __DIR__.'/parse_args.php';
12 12
 
13 13
 $args = argParser::getArgs();
14
-$baseurl = 'https://' . $args['HTTPSSERVER'] . str_replace('/server.php', '/legacy.php', $args['HTTPSURI']);
14
+$baseurl = 'https://'.$args['HTTPSSERVER'].str_replace('/server.php', '/legacy.php', $args['HTTPSURI']);
15 15
 //$baseurl = 'http://' . $args['HTTPSERVER'] . str_replace('/server.php', '/legacy.php', $args['HTTPURI']);
16 16
 
17 17
 $randId = uniqid();
18
-file_put_contents(sys_get_temp_dir() . '/phpunit_rand_id.txt', $randId);
18
+file_put_contents(sys_get_temp_dir().'/phpunit_rand_id.txt', $randId);
19 19
 
20 20
 $client = new xmlrpc_client($baseurl);
21 21
 $client->setCookie('PHPUNIT_RANDOM_TEST_ID', $randId);
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
 //var_dump($resp);
49 49
 
50 50
 if ($resp->faultCode() !== 0) {
51
-    unlink(sys_get_temp_dir() . '/phpunit_rand_id.txt');
52
-    throw new \Exception("system.listMethods returned fault " . $resp->faultCode());
51
+    unlink(sys_get_temp_dir().'/phpunit_rand_id.txt');
52
+    throw new \Exception("system.listMethods returned fault ".$resp->faultCode());
53 53
 }
54 54
 echo ". 1/1 (100%)\n\n";
55 55
 
56 56
 echo "OK (1 test, 1 assertion)\n";
57 57
 
58
-unlink(sys_get_temp_dir() . '/phpunit_rand_id.txt');
58
+unlink(sys_get_temp_dir().'/phpunit_rand_id.txt');
Please login to merge, or discard this patch.