Passed
Push — master ( f34faa...991f00 )
by Gaetano
06:57
created
demo/server/legacy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
  * It mimics server.php, but does not rely on other autoload mechanisms than the loading of xmlrpc.inc and xmlrpcs.inc
6 6
  */
7 7
 
8
-require_once __DIR__ . "/../../lib/xmlrpc.inc";
9
-require_once __DIR__ . "/../../lib/xmlrpcs.inc";
8
+require_once __DIR__."/../../lib/xmlrpc.inc";
9
+require_once __DIR__."/../../lib/xmlrpcs.inc";
10 10
 
11 11
 $signatures1 = include(__DIR__.'/methodProviders/functions.php');
12 12
 $signatures2 = include(__DIR__.'/methodProviders/interop.php');
Please login to merge, or discard this patch.
tests/legacy_loader_test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@  discard block
 block discarded – undo
4 4
  * A test file designed to test the legacy API class-loading mechanism, ie. not using phpunit/composer's autoload_
5 5
  */
6 6
 
7
-include_once __DIR__ . '/../lib/xmlrpc.inc';
8
-include_once __DIR__ . '/../lib/xmlrpcs.inc';
7
+include_once __DIR__.'/../lib/xmlrpc.inc';
8
+include_once __DIR__.'/../lib/xmlrpcs.inc';
9 9
 
10
-include_once __DIR__ . '/parse_args.php';
10
+include_once __DIR__.'/parse_args.php';
11 11
 
12 12
 $args = argParser::getArgs();
13
-$baseurl = 'http://' . $args['HTTPSERVER'] . str_replace('/server.php', '/legacy.php', $args['HTTPURI']);
13
+$baseurl = 'http://'.$args['HTTPSERVER'].str_replace('/server.php', '/legacy.php', $args['HTTPURI']);
14 14
 
15 15
 $randId = uniqid();
16
-file_put_contents(sys_get_temp_dir() . '/phpunit_rand_id.txt', $randId);
16
+file_put_contents(sys_get_temp_dir().'/phpunit_rand_id.txt', $randId);
17 17
 
18 18
 $client = new xmlrpc_client($baseurl);
19 19
 $client->setCookie('PHPUNIT_RANDOM_TEST_ID', $randId);
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 $req = new xmlrpcmsg('system.listMethods', array());
22 22
 $resp = $client->send($req);
23 23
 if ($resp->faultCode() !== 0) {
24
-    throw new \Exception("system.listMethods returned fault " . $resp->faultCode());
24
+    throw new \Exception("system.listMethods returned fault ".$resp->faultCode());
25 25
 }
26 26
 
27
-unlink(sys_get_temp_dir() . '/phpunit_rand_id.txt');
27
+unlink(sys_get_temp_dir().'/phpunit_rand_id.txt');
Please login to merge, or discard this patch.
tests/13LegacyAPITest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include_once __DIR__ . '/ServerAwareTestCase.php';
3
+include_once __DIR__.'/ServerAwareTestCase.php';
4 4
 
5 5
 /**
6 6
  * Long-term, this should replace all testing of the legacy API done via the main test-suite...
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     {
12 12
         /// @todo pass on as cli args for the executed script all the args that are already parsed by now
13 13
 
14
-        exec('php ' . __DIR__ . '/legacy_loader_test.php', $out, $result);
14
+        exec('php '.__DIR__.'/legacy_loader_test.php', $out, $result);
15 15
 
16 16
         /// @todo dump output if in debug mode or if test fails
17 17
 
Please login to merge, or discard this patch.