Completed
Push — master ( a9ff63...64b192 )
by Gaetano
06:26 queued 01:55
created
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.
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.
src/Wrapper.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Gaetano Giunta
4
- * @copyright (C) 2006-2015 G. Giunta
5
- * @license code licensed under the BSD License: see file license.txt
6
- */
3
+     * @author Gaetano Giunta
4
+     * @copyright (C) 2006-2015 G. Giunta
5
+     * @license code licensed under the BSD License: see file license.txt
6
+     */
7 7
 
8 8
 namespace PhpXmlRpc;
9 9
 
Please login to merge, or discard this patch.
pakefile.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Makefile for phpxmlrpc library.
4
- * To be used with the Pake tool: https://github.com/indeyets/pake/wiki
5
- *
6
- * @copyright (c) 2015 G. Giunta
7
- *
8
- * @todo !important allow user to specify location of docbook xslt instead of the one installed via composer
9
- */
3
+     * Makefile for phpxmlrpc library.
4
+     * To be used with the Pake tool: https://github.com/indeyets/pake/wiki
5
+     *
6
+     * @copyright (c) 2015 G. Giunta
7
+     *
8
+     * @todo !important allow user to specify location of docbook xslt instead of the one installed via composer
9
+     */
10 10
 
11 11
 namespace PhpXmlRpc {
12 12
 
Please login to merge, or discard this patch.
debugger/controller.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 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 add links to documentation from every option caption
8
- * @todo switch params for http compression from 0,1,2 to values to be used directly
9
- * @todo add a little bit more CSS formatting: we broke IE box model getting a width > 100%...
10
- * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding
11
- * @todo parse content of payload textarea to be fed to visual editor
12
- * @todo add http no-cache headers
13
- **/
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 add links to documentation from every option caption
8
+     * @todo switch params for http compression from 0,1,2 to values to be used directly
9
+     * @todo add a little bit more CSS formatting: we broke IE box model getting a width > 100%...
10
+     * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding
11
+     * @todo parse content of payload textarea to be fed to visual editor
12
+     * @todo add http no-cache headers
13
+     **/
14 14
 
15 15
 // make sure we set the correct charset type for output, so that we can display all characters
16 16
 header('Content-Type: text/html; charset=utf-8');
Please login to merge, or discard this patch.