Completed
Push — master ( bd4048...b5c43f )
by Gaetano
13:39
created
debugger/common.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Gaetano Giunta
4
- * @copyright (C) 2005-2015 G. Giunta
5
- * @license code licensed under the BSD License: see file license.txt
6
- *
7
- * Parses GET/POST variables
8
- *
9
- * @todo switch params for http compression from 0,1,2 to values to be used directly
10
- * @todo do some more sanitization of received parameters
11
- */
3
+     * @author Gaetano Giunta
4
+     * @copyright (C) 2005-2015 G. Giunta
5
+     * @license code licensed under the BSD License: see file license.txt
6
+     *
7
+     * Parses GET/POST variables
8
+     *
9
+     * @todo switch params for http compression from 0,1,2 to values to be used directly
10
+     * @todo do some more sanitization of received parameters
11
+     */
12 12
 
13 13
 // work around magic quotes
14 14
 if (get_magic_quotes_gpc()) {
Please login to merge, or discard this patch.
debugger/action.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Gaetano Giunta
4
- * @copyright (C) 2005-2015 G. Giunta
5
- * @license code licensed under the BSD License: see file license.txt
6
- *
7
- * @todo switch params for http compression from 0,1,2 to values to be used directly
8
- * @todo use ob_start to catch debug info and echo it AFTER method call results?
9
- * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj
10
- **/
3
+     * @author Gaetano Giunta
4
+     * @copyright (C) 2005-2015 G. Giunta
5
+     * @license code licensed under the BSD License: see file license.txt
6
+     *
7
+     * @todo switch params for http compression from 0,1,2 to values to be used directly
8
+     * @todo use ob_start to catch debug info and echo it AFTER method call results?
9
+     * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj
10
+     **/
11 11
 
12 12
 header('Content-Type: text/html; charset=utf-8');
13 13
 
Please login to merge, or discard this patch.
tests/benchmark.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Benchmarking suite for the PHP-XMLRPC lib.
4
- *
5
- * @author Gaetano Giunta
6
- * @copyright (c) 2005-2015 G. Giunta
7
- * @license code licensed under the BSD License: see file license.txt
8
- *
9
- * @todo add a test for response ok in call testing
10
- * @todo add support for --help option to give users the list of supported parameters
11
- **/
3
+     * Benchmarking suite for the PHP-XMLRPC lib.
4
+     *
5
+     * @author Gaetano Giunta
6
+     * @copyright (c) 2005-2015 G. Giunta
7
+     * @license code licensed under the BSD License: see file license.txt
8
+     *
9
+     * @todo add a test for response ok in call testing
10
+     * @todo add support for --help option to give users the list of supported parameters
11
+     **/
12 12
 
13 13
 use PhpXmlRpc\PhpXmlRpc;
14 14
 use PhpXmlRpc\Value;
Please login to merge, or discard this patch.
tests/phpunit_coverage.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Used to serve back the server-side code coverage results to phpunit-selenium
4
- *
5
- * @copyright (C) 2007-2015 G. Giunta
6
- * @license code licensed under the BSD License: see file license.txt
7
- **/
3
+     * Used to serve back the server-side code coverage results to phpunit-selenium
4
+     *
5
+     * @copyright (C) 2007-2015 G. Giunta
6
+     * @license code licensed under the BSD License: see file license.txt
7
+     **/
8 8
 
9 9
 $coverageFile = realpath(__DIR__ . "/../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/phpunit_coverage.php");
10 10
 
Please login to merge, or discard this patch.
tests/1ParsingBugsTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * NB: do not let your IDE fool you. The correct encoding for this file is NOT UTF8.
4
- */
3
+     * NB: do not let your IDE fool you. The correct encoding for this file is NOT UTF8.
4
+     */
5 5
 include_once __DIR__ . '/../lib/xmlrpc.inc';
6 6
 include_once __DIR__ . '/../lib/xmlrpcs.inc';
7 7
 
Please login to merge, or discard this patch.
demo/server/server.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Demo server for xmlrpc library.
4
- *
5
- * Implements a lot of webservices, including a suite of services used for
6
- * interoperability testing (validator1 methods), and some whose only purpose
7
- * is to be used for unit-testing the library.
8
- *
9
- * Please do not copy this file verbatim into your production server.
10
- **/
3
+     * Demo server for xmlrpc library.
4
+     *
5
+     * Implements a lot of webservices, including a suite of services used for
6
+     * interoperability testing (validator1 methods), and some whose only purpose
7
+     * is to be used for unit-testing the library.
8
+     *
9
+     * Please do not copy this file verbatim into your production server.
10
+     **/
11 11
 
12 12
 // give user a chance to see the source for this server instead of running the services
13 13
 if ($_SERVER['REQUEST_METHOD'] != 'POST' && isset($_GET['showSource'])) {
Please login to merge, or discard this patch.
demo/server/proxy.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * XMLRPC server acting as proxy for requests to other servers
4
- * (useful e.g. for ajax-originated calls that can only connect back to
5
- * the originating server).
6
- *
7
- * @author Gaetano Giunta
8
- * @copyright (C) 2006-2015 G. Giunta
9
- * @license code licensed under the BSD License: see file license.txt
10
- */
3
+     * XMLRPC server acting as proxy for requests to other servers
4
+     * (useful e.g. for ajax-originated calls that can only connect back to
5
+     * the originating server).
6
+     *
7
+     * @author Gaetano Giunta
8
+     * @copyright (C) 2006-2015 G. Giunta
9
+     * @license code licensed under the BSD License: see file license.txt
10
+     */
11 11
 
12 12
 include_once __DIR__ . "/../../src/Autoloader.php";
13 13
 PhpXmlRpc\Autoloader::register();
Please login to merge, or discard this patch.
src/Client.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -457,9 +457,9 @@  discard block
 block discarded – undo
457 457
      * @return Response
458 458
      */
459 459
     protected function sendPayloadHTTP10($req, $server, $port, $timeout = 0,
460
-                                       $username = '', $password = '', $authType = 1, $proxyHost = '',
461
-                                       $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1,
462
-                                       $method='http')
460
+                                        $username = '', $password = '', $authType = 1, $proxyHost = '',
461
+                                        $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1,
462
+                                        $method='http')
463 463
     {
464 464
         if ($port == 0) {
465 465
             $port = ( $method === "https" ) ? 443 : 80;
@@ -636,9 +636,9 @@  discard block
 block discarded – undo
636 636
      * @return Response
637 637
      */
638 638
     protected function sendPayloadHTTPS($req, $server, $port, $timeout = 0, $username = '',
639
-                                      $password = '', $authType = 1, $cert = '', $certPass = '', $caCert = '', $caCertDir = '',
640
-                                      $proxyHost = '', $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1,
641
-                                      $keepAlive = false, $key = '', $keyPass = '', $sslVersion = 0)
639
+                                        $password = '', $authType = 1, $cert = '', $certPass = '', $caCert = '', $caCertDir = '',
640
+                                        $proxyHost = '', $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1,
641
+                                        $keepAlive = false, $key = '', $keyPass = '', $sslVersion = 0)
642 642
     {
643 643
         return $this->sendPayloadCURL($req, $server, $port, $timeout, $username,
644 644
             $password, $authType, $cert, $certPass, $caCert, $caCertDir, $proxyHost, $proxyPort,
@@ -674,9 +674,9 @@  discard block
 block discarded – undo
674 674
      * @return Response
675 675
      */
676 676
     protected function sendPayloadCURL($req, $server, $port, $timeout = 0, $username = '',
677
-                                     $password = '', $authType = 1, $cert = '', $certPass = '', $caCert = '', $caCertDir = '',
678
-                                     $proxyHost = '', $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1, $method = 'https',
679
-                                     $keepAlive = false, $key = '', $keyPass = '', $sslVersion = 0)
677
+                                        $password = '', $authType = 1, $cert = '', $certPass = '', $caCert = '', $caCertDir = '',
678
+                                        $proxyHost = '', $proxyPort = 0, $proxyUsername = '', $proxyPassword = '', $proxyAuthType = 1, $method = 'https',
679
+                                        $keepAlive = false, $key = '', $keyPass = '', $sslVersion = 0)
680 680
     {
681 681
         if (!function_exists('curl_init')) {
682 682
             $this->errstr = 'CURL unavailable on this install';
Please login to merge, or discard this patch.