summaryrefslogtreecommitdiff
path: root/ext/soap/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests')
-rw-r--r--ext/soap/tests/bug73037.phpt4
-rw-r--r--ext/soap/tests/bugs/bug28969.phpt4
-rw-r--r--ext/soap/tests/bugs/bug29061.phpt4
-rw-r--r--ext/soap/tests/bugs/bug29109.phpt2
-rw-r--r--ext/soap/tests/bugs/bug29236.phpt2
-rw-r--r--ext/soap/tests/bugs/bug29830.phpt6
-rw-r--r--ext/soap/tests/bugs/bug29839.phpt2
-rw-r--r--ext/soap/tests/bugs/bug29844.phpt6
-rw-r--r--ext/soap/tests/bugs/bug30045.phpt6
-rw-r--r--ext/soap/tests/bugs/bug30106.phpt2
-rw-r--r--ext/soap/tests/bugs/bug30799.phpt2
-rw-r--r--ext/soap/tests/bugs/bug30928.phpt4
-rw-r--r--ext/soap/tests/bugs/bug31695.phpt4
-rw-r--r--ext/soap/tests/bugs/bug32776.phpt2
-rw-r--r--ext/soap/tests/bugs/bug34453.phpt2
-rw-r--r--ext/soap/tests/bugs/bug35142.phpt2
-rw-r--r--ext/soap/tests/bugs/bug36226.phpt2
-rw-r--r--ext/soap/tests/bugs/bug36908.phpt2
-rw-r--r--ext/soap/tests/bugs/bug36999.phpt2
-rw-r--r--ext/soap/tests/bugs/bug37013.phpt2
-rw-r--r--ext/soap/tests/bugs/bug38005.phpt2
-rw-r--r--ext/soap/tests/bugs/bug39815.phpt8
-rw-r--r--ext/soap/tests/bugs/bug41004.phpt2
-rw-r--r--ext/soap/tests/bugs/bug42086.phpt2
-rw-r--r--ext/soap/tests/bugs/bug42183.phpt2
-rw-r--r--ext/soap/tests/bugs/bug42326.phpt2
-rw-r--r--ext/soap/tests/bugs/bug43045.phpt2
-rw-r--r--ext/soap/tests/bugs/bug46419.phpt4
-rw-r--r--ext/soap/tests/bugs/bug47273.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_2.phpt2
-rw-r--r--ext/soap/tests/bugs/bug50698_3.phpt2
-rw-r--r--ext/soap/tests/bugs/bug54911.phpt4
-rw-r--r--ext/soap/tests/bugs/multiport.phpt2
-rw-r--r--ext/soap/tests/classmap001.phpt6
-rw-r--r--ext/soap/tests/classmap002.phpt4
-rw-r--r--ext/soap/tests/classmap003.phpt2
-rw-r--r--ext/soap/tests/schema/schema064.phpt2
-rw-r--r--ext/soap/tests/server019.phpt4
-rw-r--r--ext/soap/tests/server020.phpt4
-rw-r--r--ext/soap/tests/server029.phpt6
-rw-r--r--ext/soap/tests/transport001.phpt4
-rw-r--r--ext/soap/tests/typemap001.phpt6
-rw-r--r--ext/soap/tests/typemap002.phpt6
-rw-r--r--ext/soap/tests/typemap003.phpt4
-rw-r--r--ext/soap/tests/typemap004.phpt4
-rw-r--r--ext/soap/tests/typemap005.phpt6
-rw-r--r--ext/soap/tests/typemap006.phpt6
-rw-r--r--ext/soap/tests/typemap007.phpt4
-rw-r--r--ext/soap/tests/typemap008.phpt4
-rw-r--r--ext/soap/tests/typemap009.phpt6
-rw-r--r--ext/soap/tests/typemap010.phpt6
-rw-r--r--ext/soap/tests/typemap011.phpt4
-rw-r--r--ext/soap/tests/typemap012.phpt4
-rw-r--r--ext/soap/tests/typemap013.phpt6
54 files changed, 98 insertions, 98 deletions
diff --git a/ext/soap/tests/bug73037.phpt b/ext/soap/tests/bug73037.phpt
index e68f621607..4ceb694aea 100644
--- a/ext/soap/tests/bug73037.phpt
+++ b/ext/soap/tests/bug73037.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #73037 SoapServer reports Bad Request when gzipped, var 0
--SKIPIF--
-<?php
+<?php
require_once('skipif.inc');
if (!extension_loaded("zlib")) {
echo "skip zlib is required for this test";
@@ -92,7 +92,7 @@ Expect: 100-continue
Content-Length: ${len}
HDRS;
if ($b) {
- $hdrs .="\nContent-Encoding: gzip";
+ $hdrs .="\nContent-Encoding: gzip";
}
//echo "Headers sent:\n$hdrs\n\n";
$fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, 5);
diff --git a/ext/soap/tests/bugs/bug28969.phpt b/ext/soap/tests/bugs/bug28969.phpt
index dd8c3a162c..56c5538223 100644
--- a/ext/soap/tests/bugs/bug28969.phpt
+++ b/ext/soap/tests/bugs/bug28969.phpt
@@ -27,9 +27,9 @@ class LocalSoapClient extends SoapClient {
}
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
+$x = new LocalSoapClient(NULL,array('location'=>'test://',
'uri'=>'http://testuri.org',
- 'encoding'=>'ISO-8859-1'));
+ 'encoding'=>'ISO-8859-1'));
var_dump($x->test());
echo "ok\n";
?>
diff --git a/ext/soap/tests/bugs/bug29061.phpt b/ext/soap/tests/bugs/bug29061.phpt
index a85a7aa1ba..0ded544b94 100644
--- a/ext/soap/tests/bugs/bug29061.phpt
+++ b/ext/soap/tests/bugs/bug29061.phpt
@@ -6,8 +6,8 @@ Bug #29061 (soap extension segfaults)
soap.wsdl_cache_enabled=0
--FILE--
<?php
-$client = new SoapClient(dirname(__FILE__)."/bug29061.wsdl", array("exceptions"=>0));
-$client->getQuote("ibm");
+$client = new SoapClient(dirname(__FILE__)."/bug29061.wsdl", array("exceptions"=>0));
+$client->getQuote("ibm");
echo "ok\n";
?>
--EXPECT--
diff --git a/ext/soap/tests/bugs/bug29109.phpt b/ext/soap/tests/bugs/bug29109.phpt
index 3b13974d07..f16b4c5851 100644
--- a/ext/soap/tests/bugs/bug29109.phpt
+++ b/ext/soap/tests/bugs/bug29109.phpt
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
--FILE--
<?php
$client = new SoapClient(dirname(__FILE__)."/bug29109.wsdl");
-var_dump($client->__getFunctions());
+var_dump($client->__getFunctions());
?>
--EXPECT--
array(1) {
diff --git a/ext/soap/tests/bugs/bug29236.phpt b/ext/soap/tests/bugs/bug29236.phpt
index 7b7628d3de..659a8293db 100644
--- a/ext/soap/tests/bugs/bug29236.phpt
+++ b/ext/soap/tests/bugs/bug29236.phpt
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=1
--FILE--
<?php
$client = new SoapClient(dirname(__FILE__)."/bug29236.wsdl");
-var_dump($client->__getFunctions());
+var_dump($client->__getFunctions());
?>
--EXPECT--
array(4) {
diff --git a/ext/soap/tests/bugs/bug29830.phpt b/ext/soap/tests/bugs/bug29830.phpt
index dc090f82cc..adbbd7ffa5 100644
--- a/ext/soap/tests/bugs/bug29830.phpt
+++ b/ext/soap/tests/bugs/bug29830.phpt
@@ -5,13 +5,13 @@ Bug #29844 (SoapServer::setClass() should not export non-public methods)
--FILE--
<?php
-class hello_world {
+class hello_world {
public function hello($to) {
return 'Hello ' . $to;
- }
+ }
private function bye($to) {
return 'Bye ' . $to;
- }
+ }
}
$server = new SoapServer(NULL, array("uri"=>"test://"));
diff --git a/ext/soap/tests/bugs/bug29839.phpt b/ext/soap/tests/bugs/bug29839.phpt
index 11d924ec78..8bead388fa 100644
--- a/ext/soap/tests/bugs/bug29839.phpt
+++ b/ext/soap/tests/bugs/bug29839.phpt
@@ -29,7 +29,7 @@ class LocalSoapClient extends SoapClient {
}
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29839.wsdl", array("trace"=>1));
+$client = new LocalSoapClient(dirname(__FILE__)."/bug29839.wsdl", array("trace"=>1));
$client->EchoString(array("value"=>"hello","lang"=>"en"));
echo $client->__getLastRequest();
echo $client->__getLastResponse();
diff --git a/ext/soap/tests/bugs/bug29844.phpt b/ext/soap/tests/bugs/bug29844.phpt
index a3006639b1..26f1151a93 100644
--- a/ext/soap/tests/bugs/bug29844.phpt
+++ b/ext/soap/tests/bugs/bug29844.phpt
@@ -7,10 +7,10 @@ soap.wsdl_cache_enabled=0
--FILE--
<?php
-class hello_world {
+class hello_world {
public function hello($to) {
return 'Hello ' . $to;
- }
+ }
}
class LocalSoapClient extends SoapClient {
@@ -31,7 +31,7 @@ class LocalSoapClient extends SoapClient {
}
-$client = new LocalSoapClient(dirname(__FILE__)."/bug29844.wsdl", array("trace"=>1));
+$client = new LocalSoapClient(dirname(__FILE__)."/bug29844.wsdl", array("trace"=>1));
var_dump($client->hello('davey'));
?>
--EXPECT--
diff --git a/ext/soap/tests/bugs/bug30045.phpt b/ext/soap/tests/bugs/bug30045.phpt
index 281f958202..21889c2fd1 100644
--- a/ext/soap/tests/bugs/bug30045.phpt
+++ b/ext/soap/tests/bugs/bug30045.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests)
--SKIPIF--
-<?php
+<?php
if (!extension_loaded('soap')) die('skip soap extension not available');
if (!extension_loaded('simplexml')) die('skip simplexml extension not available');
?>
@@ -42,7 +42,7 @@ $soap = new LocalSoapClient(NULL, array("uri"=>"http://test-uri", "location"=>"t
function test($type, $num) {
global $soap;
try {
- printf(" %0.0f\n ", $num);
+ printf(" %0.0f\n ", $num);
$ret = $soap->foo($type, new SoapVar($num, $type));
printf(" %0.0f\n", $ret);
} catch (SoapFault $ex) {
@@ -127,7 +127,7 @@ test(XSD_LONG, 2147483647);
test(XSD_LONG, 2147483648);
test(XSD_LONG, 4294967296);
test(XSD_LONG, 8589934592);
-test(XSD_LONG, 17179869184);
+test(XSD_LONG, 17179869184);
echo "\nunsignedLong\n";
test(XSD_UNSIGNEDLONG, 2147483647);
diff --git a/ext/soap/tests/bugs/bug30106.phpt b/ext/soap/tests/bugs/bug30106.phpt
index 2104c6d409..3444812623 100644
--- a/ext/soap/tests/bugs/bug30106.phpt
+++ b/ext/soap/tests/bugs/bug30106.phpt
@@ -16,7 +16,7 @@ class LocalSoapClient extends SoapClient {
function __construct($wsdl, $options=array()) {
parent::__construct($wsdl, $options);
$this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction("getContinentList");
+ $this->server->addFunction("getContinentList");
}
function __doRequest($request, $location, $action, $version, $one_way = 0) {
diff --git a/ext/soap/tests/bugs/bug30799.phpt b/ext/soap/tests/bugs/bug30799.phpt
index fe7c8ca731..92fd40f452 100644
--- a/ext/soap/tests/bugs/bug30799.phpt
+++ b/ext/soap/tests/bugs/bug30799.phpt
@@ -8,7 +8,7 @@ class foo {
public $a="a";
private $b="b";
protected $c="c";
-
+
}
$x = new SoapClient(NULL,array("location"=>"test://",
diff --git a/ext/soap/tests/bugs/bug30928.phpt b/ext/soap/tests/bugs/bug30928.phpt
index 0f473b359e..e1fe17a359 100644
--- a/ext/soap/tests/bugs/bug30928.phpt
+++ b/ext/soap/tests/bugs/bug30928.phpt
@@ -33,11 +33,11 @@ class LocalSoapClient extends SoapClient {
}
}
-$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
+$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
array());
var_dump($x->test(new foo()));
-$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
+$x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl",
array("classmap" => array('testType'=>'foo')));
var_dump($x->test(new foo()));
diff --git a/ext/soap/tests/bugs/bug31695.phpt b/ext/soap/tests/bugs/bug31695.phpt
index 9def103726..6d3fae0d25 100644
--- a/ext/soap/tests/bugs/bug31695.phpt
+++ b/ext/soap/tests/bugs/bug31695.phpt
@@ -14,7 +14,7 @@ class LocalSoapClient extends SoapClient {
function __construct($wsdl, $options=array()) {
parent::__construct($wsdl, $options);
$this->server = new SoapServer($wsdl, $options);
- $this->server->addFunction("Test");
+ $this->server->addFunction("Test");
}
function __doRequest($request, $location, $action, $version, $one_way = 0) {
@@ -31,7 +31,7 @@ $client = new LocalSoapClient(dirname(__FILE__)."/bug31695.wsdl");
$client->Test("str");
$client = new LocalSoapClient(dirname(__FILE__)."/bug31695.wsdl", array("location"=>"test://1"));
$client->Test("str");
-$client->__soapCall("Test",
+$client->__soapCall("Test",
array("arg1"),
array("location"=>"test://2"));
$old = $client->__setLocation("test://3");
diff --git a/ext/soap/tests/bugs/bug32776.phpt b/ext/soap/tests/bugs/bug32776.phpt
index 6dc94661ae..ae863bd339 100644
--- a/ext/soap/tests/bugs/bug32776.phpt
+++ b/ext/soap/tests/bugs/bug32776.phpt
@@ -32,7 +32,7 @@ class LocalSoapClient extends SoapClient {
}
-$x = new LocalSoapClient(dirname(__FILE__)."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false));
+$x = new LocalSoapClient(dirname(__FILE__)."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false));
var_dump($x->test("Hello"));
var_dump($d);
var_dump($x->__getLastRequest());
diff --git a/ext/soap/tests/bugs/bug34453.phpt b/ext/soap/tests/bugs/bug34453.phpt
index 0f9543b715..0a9dd80179 100644
--- a/ext/soap/tests/bugs/bug34453.phpt
+++ b/ext/soap/tests/bugs/bug34453.phpt
@@ -29,7 +29,7 @@ class LocalSoapClient extends SoapClient {
}
-$client = new LocalSoapClient(dirname(__FILE__)."/bug34453.wsdl", array("trace"=>1));
+$client = new LocalSoapClient(dirname(__FILE__)."/bug34453.wsdl", array("trace"=>1));
$client->EchoString(array("value"=>"hello","lang"=>"en"));
echo $client->__getLastRequest();
echo $client->__getLastResponse();
diff --git a/ext/soap/tests/bugs/bug35142.phpt b/ext/soap/tests/bugs/bug35142.phpt
index 94c1aa954b..2e523030a9 100644
--- a/ext/soap/tests/bugs/bug35142.phpt
+++ b/ext/soap/tests/bugs/bug35142.phpt
@@ -32,7 +32,7 @@ class TestSoapClient extends SoapClient {
}
-$soapClient = new TestSoapClient($wsdl,
+$soapClient = new TestSoapClient($wsdl,
array('trace' => 1, 'exceptions' => 0,
'classmap' => array('logOnEvent' => 'LogOnEvent',
'logOffEvent' => 'LogOffEvent',
diff --git a/ext/soap/tests/bugs/bug36226.phpt b/ext/soap/tests/bugs/bug36226.phpt
index 8c01c5b5d3..1e398c0c2c 100644
--- a/ext/soap/tests/bugs/bug36226.phpt
+++ b/ext/soap/tests/bugs/bug36226.phpt
@@ -32,7 +32,7 @@ class TestSoapClient extends SoapClient {
}
-$soapClient = new TestSoapClient($wsdl,
+$soapClient = new TestSoapClient($wsdl,
array('trace' => 1, 'exceptions' => 0,
'classmap' => array('logOnEvent' => 'LogOnEvent',
'logOffEvent' => 'LogOffEvent',
diff --git a/ext/soap/tests/bugs/bug36908.phpt b/ext/soap/tests/bugs/bug36908.phpt
index cd0ea8b2e5..2d2a46410c 100644
--- a/ext/soap/tests/bugs/bug36908.phpt
+++ b/ext/soap/tests/bugs/bug36908.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #36908 (wsdl default value overrides value in soap request)
--SKIPIF--
-<?php
+<?php
if (!extension_loaded('soap')) die('skip soap extension not available');
?>
--INI--
diff --git a/ext/soap/tests/bugs/bug36999.phpt b/ext/soap/tests/bugs/bug36999.phpt
index 9fbb032d8f..eed02ecf0b 100644
--- a/ext/soap/tests/bugs/bug36999.phpt
+++ b/ext/soap/tests/bugs/bug36999.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #36999 (xsd:long values clamped to LONG_MAX instead of using double)
--SKIPIF--
-<?php
+<?php
if (!extension_loaded('soap')) die('skip soap extension not available');
?>
--INI--
diff --git a/ext/soap/tests/bugs/bug37013.phpt b/ext/soap/tests/bugs/bug37013.phpt
index 45f314293b..7c0546ba2d 100644
--- a/ext/soap/tests/bugs/bug37013.phpt
+++ b/ext/soap/tests/bugs/bug37013.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #37013 (server hangs when returning circular object references)
--SKIPIF--
-<?php
+<?php
if (!extension_loaded('soap')) die('skip soap extension not available');
?>
--INI--
diff --git a/ext/soap/tests/bugs/bug38005.phpt b/ext/soap/tests/bugs/bug38005.phpt
index 219696c263..6557867277 100644
--- a/ext/soap/tests/bugs/bug38005.phpt
+++ b/ext/soap/tests/bugs/bug38005.phpt
@@ -31,7 +31,7 @@ $client = new TestSoapClient(NULL, array(
'uri' => "test://",
'location' => "test://",
'soap_version'=>SOAP_1_2,
- 'trace'=>1,
+ 'trace'=>1,
'exceptions'=>0));
$res = $client->Test();
echo($res->faultstring."\n");
diff --git a/ext/soap/tests/bugs/bug39815.phpt b/ext/soap/tests/bugs/bug39815.phpt
index 847c37161b..57b429ec43 100644
--- a/ext/soap/tests/bugs/bug39815.phpt
+++ b/ext/soap/tests/bugs/bug39815.phpt
@@ -1,8 +1,8 @@
--TEST--
Bug #39815 (to_zval_double() in ext/soap/php_encoding.c is not locale-independent)
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
if (!@setlocale(LC_ALL, 'sv_SE', 'sv_SE.ISO8859-1')) die('skip sv_SE locale not available');
if (!@setlocale(LC_ALL, 'en_US', 'en_US.ISO8859-1')) die('skip en_US locale not available');
?>
@@ -31,9 +31,9 @@ class LocalSoapClient extends SoapClient {
}
}
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
+$x = new LocalSoapClient(NULL,array('location'=>'test://',
'uri'=>'http://testuri.org',
- "trace"=>1));
+ "trace"=>1));
setlocale(LC_ALL,"sv_SE","sv_SE.ISO8859-1");
var_dump($x->test());
echo $x->__getLastResponse();
diff --git a/ext/soap/tests/bugs/bug41004.phpt b/ext/soap/tests/bugs/bug41004.phpt
index 992c6b708d..87ab88598e 100644
--- a/ext/soap/tests/bugs/bug41004.phpt
+++ b/ext/soap/tests/bugs/bug41004.phpt
@@ -9,7 +9,7 @@ ini_set('soap.wsdl_cache_enabled', false);
class EchoBean{
public $mandatoryElement;
public $optionalElement;
-
+
}
class EchoRequest{
diff --git a/ext/soap/tests/bugs/bug42086.phpt b/ext/soap/tests/bugs/bug42086.phpt
index 6edc06f879..35e5ef0e07 100644
--- a/ext/soap/tests/bugs/bug42086.phpt
+++ b/ext/soap/tests/bugs/bug42086.phpt
@@ -20,7 +20,7 @@ function firstFunctionWithoutParam() {
$ret->param = "firstFunctionWithoutParam";
return $ret;
}
-
+
$server = new SoapServer(dirname(__FILE__).'/bug42086.wsdl',
array('features'=>SOAP_SINGLE_ELEMENT_ARRAYS));
$server->addFunction('firstFunctionWithoutParam');
diff --git a/ext/soap/tests/bugs/bug42183.phpt b/ext/soap/tests/bugs/bug42183.phpt
index d34311f26c..043487c964 100644
--- a/ext/soap/tests/bugs/bug42183.phpt
+++ b/ext/soap/tests/bugs/bug42183.phpt
@@ -16,7 +16,7 @@ function test() {
return new PHPObject();
}
-$server = new SoapServer(NULL, array('uri' => 'http://ws.sit.com',
+$server = new SoapServer(NULL, array('uri' => 'http://ws.sit.com',
'classmap' => array('Object' => 'PHPObject')));
$server->addFunction("test");
ob_start();
diff --git a/ext/soap/tests/bugs/bug42326.phpt b/ext/soap/tests/bugs/bug42326.phpt
index 2e6c7c3501..a1d8d59fc0 100644
--- a/ext/soap/tests/bugs/bug42326.phpt
+++ b/ext/soap/tests/bugs/bug42326.phpt
@@ -28,7 +28,7 @@ class SOAP_GetProductsResponse {
public $products;
function __construct(){
$this->products = new SOAP_productDetailsType();
-
+
}
}
diff --git a/ext/soap/tests/bugs/bug43045.phpt b/ext/soap/tests/bugs/bug43045.phpt
index a32acfe0ea..f4f3983800 100644
--- a/ext/soap/tests/bugs/bug43045.phpt
+++ b/ext/soap/tests/bugs/bug43045.phpt
@@ -39,7 +39,7 @@ $client = new TestSoapClient(NULL, array(
"location" => "test://",
"uri" => 'urn:TestSOAP',
"style" => SOAP_RPC,
- "use" => SOAP_ENCODED
+ "use" => SOAP_ENCODED
));
var_dump($client->test(0.1));
var_dump($client->test(NAN));
diff --git a/ext/soap/tests/bugs/bug46419.phpt b/ext/soap/tests/bugs/bug46419.phpt
index cb113e28d2..d5f9751ed5 100644
--- a/ext/soap/tests/bugs/bug46419.phpt
+++ b/ext/soap/tests/bugs/bug46419.phpt
@@ -26,8 +26,8 @@ class LocalSoapClient extends SoapClient {
}
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
- 'uri'=>'http://testuri.org'));
+$x = new LocalSoapClient(NULL,array('location'=>'test://',
+ 'uri'=>'http://testuri.org'));
var_dump($x->bar());
?>
--EXPECT--
diff --git a/ext/soap/tests/bugs/bug47273.phpt b/ext/soap/tests/bugs/bug47273.phpt
index 1cfb0f3cd9..85abf432da 100644
--- a/ext/soap/tests/bugs/bug47273.phpt
+++ b/ext/soap/tests/bugs/bug47273.phpt
@@ -19,7 +19,7 @@ class SoapFaultTest
// Test #1
return 'Test #1 exception with some special chars: Äßö';
}
- public function test2() {
+ public function test2() {
// Test #2
//throw new SoapFault('Server', 'Test #2 exception with some special chars: Äßö');
throw new Exception('Test #2 exception with some special chars: Äßö');
diff --git a/ext/soap/tests/bugs/bug50698_2.phpt b/ext/soap/tests/bugs/bug50698_2.phpt
index 7ff667423c..79bbb3bd80 100644
--- a/ext/soap/tests/bugs/bug50698_2.phpt
+++ b/ext/soap/tests/bugs/bug50698_2.phpt
@@ -15,7 +15,7 @@ try {
} else {
echo "Call: \"new SoapClient(dirname(__FILE__).'/bug50698_2.wsdl');\" threw a SoapFault with an incorrect faultcode or faultmessage.";
print_r($e);
- }
+ }
}
?>
--EXPECT--
diff --git a/ext/soap/tests/bugs/bug50698_3.phpt b/ext/soap/tests/bugs/bug50698_3.phpt
index 6cee6a67ec..341a4afb97 100644
--- a/ext/soap/tests/bugs/bug50698_3.phpt
+++ b/ext/soap/tests/bugs/bug50698_3.phpt
@@ -15,7 +15,7 @@ try {
} else {
echo "Call: \"new SoapClient(dirname(__FILE__).'/bug50698_3.wsdl');\" threw a SoapFault with an incorrect faultcode or faultmessage.";
print_r($e);
- }
+ }
}
?>
--EXPECT--
diff --git a/ext/soap/tests/bugs/bug54911.phpt b/ext/soap/tests/bugs/bug54911.phpt
index 6913925f8a..1cc4faf959 100644
--- a/ext/soap/tests/bugs/bug54911.phpt
+++ b/ext/soap/tests/bugs/bug54911.phpt
@@ -7,8 +7,8 @@ Bug #54911 (Access to a undefined member in inherit SoapClient may cause Segment
class XSoapClient extends SoapClient {
function __doRequest($request, $location, $action, $version, $one_way=false) {
echo self::$crash;
- }
- }
+ }
+ }
$client = new XSoapClient(null, array('uri'=>'', 'location'=>''));
$client->__soapCall('', array());
?>
diff --git a/ext/soap/tests/bugs/multiport.phpt b/ext/soap/tests/bugs/multiport.phpt
index 0b5e944514..90799cf492 100644
--- a/ext/soap/tests/bugs/multiport.phpt
+++ b/ext/soap/tests/bugs/multiport.phpt
@@ -6,7 +6,7 @@ Proper binding selection
soap.wsdl_cache_enabled=0
--FILE--
<?php
-$client = new SoapClient(dirname(__FILE__).'/multiport.wsdl',
+$client = new SoapClient(dirname(__FILE__).'/multiport.wsdl',
array('trace' => true, 'exceptions' => false));
$response = $client->GetSessionId(array('userId'=>'user', 'password'=>'password'));
echo $client->__getLastRequest();
diff --git a/ext/soap/tests/classmap001.phpt b/ext/soap/tests/classmap001.phpt
index 247a1ded7f..7699aab2bc 100644
--- a/ext/soap/tests/classmap001.phpt
+++ b/ext/soap/tests/classmap001.phpt
@@ -22,19 +22,19 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</dotest>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
class test{
function dotest(book $book){
$classname=get_class($book);
return "Classname: ".$classname;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
'actor' =>'http://schema.nothing.com',
diff --git a/ext/soap/tests/classmap002.phpt b/ext/soap/tests/classmap002.phpt
index d79deb6d39..cbd74f2f74 100644
--- a/ext/soap/tests/classmap002.phpt
+++ b/ext/soap/tests/classmap002.phpt
@@ -17,13 +17,13 @@ class TestSoapClient extends SoapClient{
</res>
</ns1:dotest2Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
EOF;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
diff --git a/ext/soap/tests/classmap003.phpt b/ext/soap/tests/classmap003.phpt
index 4d0118fef4..2f49bb4e34 100644
--- a/ext/soap/tests/classmap003.phpt
+++ b/ext/soap/tests/classmap003.phpt
@@ -14,7 +14,7 @@ class A {
}
class B extends A {
- public $y;
+ public $y;
function __construct($a){
parent::__construct($a);
$this->y = $a + 1;
diff --git a/ext/soap/tests/schema/schema064.phpt b/ext/soap/tests/schema/schema064.phpt
index 899a2938fa..913cbd16e0 100644
--- a/ext/soap/tests/schema/schema064.phpt
+++ b/ext/soap/tests/schema/schema064.phpt
@@ -1,7 +1,7 @@
--TEST--
SOAP XML Schema 64: standard date/time types
--SKIPIF--
-<?php
+<?php
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
die('skip, windows has different TZ format');
}
diff --git a/ext/soap/tests/server019.phpt b/ext/soap/tests/server019.phpt
index d36cff0887..132b4dc1a5 100644
--- a/ext/soap/tests/server019.phpt
+++ b/ext/soap/tests/server019.phpt
@@ -1,9 +1,9 @@
--TEST--
SOAP Server 19: compressed request (gzip)
--SKIPIF--
-<?php
+<?php
if (php_sapi_name()=='cli') echo 'skip';
- require_once('skipif.inc');
+ require_once('skipif.inc');
if (!extension_loaded('zlib')) die('skip zlib extension not available');
?>
--INI--
diff --git a/ext/soap/tests/server020.phpt b/ext/soap/tests/server020.phpt
index b14978fd31..69eb4f097b 100644
--- a/ext/soap/tests/server020.phpt
+++ b/ext/soap/tests/server020.phpt
@@ -1,9 +1,9 @@
--TEST--
SOAP Server 20: compressed request (deflate)
--SKIPIF--
-<?php
+<?php
if (php_sapi_name()=='cli') echo 'skip';
- require_once('skipif.inc');
+ require_once('skipif.inc');
if (!extension_loaded('zlib')) die('skip zlib extension not available');
?>
--INI--
diff --git a/ext/soap/tests/server029.phpt b/ext/soap/tests/server029.phpt
index 26db9fd9cc..b65b23fd06 100644
--- a/ext/soap/tests/server029.phpt
+++ b/ext/soap/tests/server029.phpt
@@ -1,5 +1,5 @@
--TEST--
-SOAP Server 29-CGI: new/addfunction/handle
+SOAP Server 29-CGI: new/addfunction/handle
--POST--
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope
@@ -13,9 +13,9 @@ SOAP Server 29-CGI: new/addfunction/handle
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--SKIPIF--
-<?php
+<?php
if (php_sapi_name()=='cli') echo 'skip';
- require_once('skipif.inc');
+ require_once('skipif.inc');
?>
--FILE--
<?php
diff --git a/ext/soap/tests/transport001.phpt b/ext/soap/tests/transport001.phpt
index 9ab0d3d9d1..a2733bd5dc 100644
--- a/ext/soap/tests/transport001.phpt
+++ b/ext/soap/tests/transport001.phpt
@@ -26,8 +26,8 @@ class LocalSoapClient extends SoapClient {
}
-$x = new LocalSoapClient(NULL,array('location'=>'test://',
- 'uri'=>'http://testuri.org'));
+$x = new LocalSoapClient(NULL,array('location'=>'test://',
+ 'uri'=>'http://testuri.org'));
var_dump($x->Add(3,4));
echo "ok\n";
?>
diff --git a/ext/soap/tests/typemap001.phpt b/ext/soap/tests/typemap001.phpt
index b5ed31da85..3268c694ae 100644
--- a/ext/soap/tests/typemap001.phpt
+++ b/ext/soap/tests/typemap001.phpt
@@ -23,7 +23,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_from_xml($xml) {
$sxe = simplexml_load_string($xml);
@@ -37,13 +37,13 @@ class test{
function dotest($book){
$classname=get_class($book);
return "Object: ".$classname. "(".$book->a.",".$book->b.")";
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
'actor' =>'http://schemas.nothing.com',
diff --git a/ext/soap/tests/typemap002.phpt b/ext/soap/tests/typemap002.phpt
index ceb00f1a19..41bbc1505e 100644
--- a/ext/soap/tests/typemap002.phpt
+++ b/ext/soap/tests/typemap002.phpt
@@ -19,7 +19,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest2>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_to_xml($book) {
return '<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><a xsi:type="xsd:string">'.$book->a.'!</a><b xsi:type="xsd:string">'.$book->b.'!</b></book>';
@@ -31,13 +31,13 @@ class test{
$book->a = "foo";
$book->b = "bar";
return $book;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
diff --git a/ext/soap/tests/typemap003.phpt b/ext/soap/tests/typemap003.phpt
index 63bb76cbcf..85a6369313 100644
--- a/ext/soap/tests/typemap003.phpt
+++ b/ext/soap/tests/typemap003.phpt
@@ -18,13 +18,13 @@ class TestSoapClient extends SoapClient{
</res>
</ns1:dotest2Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
EOF;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_from_xml($xml) {
diff --git a/ext/soap/tests/typemap004.phpt b/ext/soap/tests/typemap004.phpt
index 4fe15f7f9f..ffd24c6a38 100644
--- a/ext/soap/tests/typemap004.phpt
+++ b/ext/soap/tests/typemap004.phpt
@@ -10,13 +10,13 @@ class TestSoapClient extends SoapClient{
function __doRequest($request, $location, $action, $version, $one_way = 0) {
echo $request;
exit;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_to_xml($book) {
diff --git a/ext/soap/tests/typemap005.phpt b/ext/soap/tests/typemap005.phpt
index 369d026b5a..5a8319fab7 100644
--- a/ext/soap/tests/typemap005.phpt
+++ b/ext/soap/tests/typemap005.phpt
@@ -23,7 +23,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_from_xml($xml) {
$sxe = simplexml_load_string($xml);
@@ -37,13 +37,13 @@ class test{
function dotest($book){
$classname=get_class($book);
return "Object: ".$classname. "(".$book->a.",".$book->b.")";
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
'uri' => "http://schemas.nothing.com",
diff --git a/ext/soap/tests/typemap006.phpt b/ext/soap/tests/typemap006.phpt
index 7ecf410ad8..9de9e245d2 100644
--- a/ext/soap/tests/typemap006.phpt
+++ b/ext/soap/tests/typemap006.phpt
@@ -19,7 +19,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest2>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_to_xml($book) {
return '<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><a xsi:type="xsd:string">'.$book->a.'!</a><b xsi:type="xsd:string">'.$book->b.'!</b></book>';
@@ -31,13 +31,13 @@ class test{
$book->a = "foo";
$book->b = "bar";
return new SoapVar($book, null, "book", "http://schemas.nothing.com");
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
diff --git a/ext/soap/tests/typemap007.phpt b/ext/soap/tests/typemap007.phpt
index b3451f1dae..1dd2becb61 100644
--- a/ext/soap/tests/typemap007.phpt
+++ b/ext/soap/tests/typemap007.phpt
@@ -18,13 +18,13 @@ class TestSoapClient extends SoapClient{
</res>
</ns1:dotest2Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
EOF;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_from_xml($xml) {
diff --git a/ext/soap/tests/typemap008.phpt b/ext/soap/tests/typemap008.phpt
index 192f6dc0d2..4ba1fb5bef 100644
--- a/ext/soap/tests/typemap008.phpt
+++ b/ext/soap/tests/typemap008.phpt
@@ -10,13 +10,13 @@ class TestSoapClient extends SoapClient{
function __doRequest($request, $location, $action, $version, $one_way = 0) {
echo $request;
exit;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_to_xml($book) {
diff --git a/ext/soap/tests/typemap009.phpt b/ext/soap/tests/typemap009.phpt
index ec5c38da2b..7c7cd6fee7 100644
--- a/ext/soap/tests/typemap009.phpt
+++ b/ext/soap/tests/typemap009.phpt
@@ -22,7 +22,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_from_xml($xml) {
throw new SoapFault("Server", "Conversion Failed");
@@ -32,13 +32,13 @@ class test{
function dotest($book){
$classname=get_class($book);
return "Object: ".$classname. "(".$book->a.",".$book->b.")";
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
'actor' =>'http://schemas.nothing.com',
diff --git a/ext/soap/tests/typemap010.phpt b/ext/soap/tests/typemap010.phpt
index 4eba6345cb..0d27ba4936 100644
--- a/ext/soap/tests/typemap010.phpt
+++ b/ext/soap/tests/typemap010.phpt
@@ -19,7 +19,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest2>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_to_xml($book) {
throw new SoapFault("Server", "Conversion Fault");
@@ -31,13 +31,13 @@ class test{
$book->a = "foo";
$book->b = "bar";
return $book;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(
diff --git a/ext/soap/tests/typemap011.phpt b/ext/soap/tests/typemap011.phpt
index 1e2addceec..7d89b71e06 100644
--- a/ext/soap/tests/typemap011.phpt
+++ b/ext/soap/tests/typemap011.phpt
@@ -17,13 +17,13 @@ class TestSoapClient extends SoapClient{
</res>
</ns1:dotest2Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
EOF;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_from_xml($xml) {
diff --git a/ext/soap/tests/typemap012.phpt b/ext/soap/tests/typemap012.phpt
index 847957a982..79e2319085 100644
--- a/ext/soap/tests/typemap012.phpt
+++ b/ext/soap/tests/typemap012.phpt
@@ -10,13 +10,13 @@ class TestSoapClient extends SoapClient{
function __doRequest($request, $location, $action, $version, $one_way = 0) {
echo $request;
exit;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
function book_to_xml($book) {
diff --git a/ext/soap/tests/typemap013.phpt b/ext/soap/tests/typemap013.phpt
index d873eb4d18..4ebeac71d8 100644
--- a/ext/soap/tests/typemap013.phpt
+++ b/ext/soap/tests/typemap013.phpt
@@ -19,7 +19,7 @@ $GLOBALS['HTTP_RAW_POST_DATA']="
</ns1:dotest2>
</env:Body>
<env:Header/>
-</env:Envelope>";
+</env:Envelope>";
function book_to_xml($book) {
return '<book xmlns="http://schemas.nothing.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><a xsi:type="xsd:string">'.$book->a.'!</a><b xsi:type="xsd:string">'.$book->b.'!</b></book>';
@@ -31,13 +31,13 @@ class test{
$book->a = "foo";
$book->b = "bar";
return $book;
- }
+ }
}
class book{
public $a="a";
public $b="c";
-
+
}
$options=Array(