Skip to content

Commit 3aa9a2d

Browse files
committed
Fix SOAP extension issues
1 parent 640d950 commit 3aa9a2d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

conf/config.neon

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ parameters:
7777
- '#^PhpParser\\#'
7878
- '#^Hoa\\#'
7979
- '#^DateTime(?:Interface|Immutable)?$#'
80+
- '#^Soap(?:Client|Var|Server|Fault|Param|Header)$#'
8081
dynamicConstantNames:
8182
- ICONV_IMPL
8283
- PHP_VERSION

src/Reflection/SignatureMap/functionMap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10281,7 +10281,7 @@
1028110281
'snmpwalk' => ['array|false', 'host'=>'string', 'community'=>'string', 'object_id'=>'string', 'timeout='=>'int', 'retries='=>'int'],
1028210282
'snmpwalkoid' => ['array|false', 'hostname'=>'string', 'community'=>'string', 'object_id'=>'string', 'timeout='=>'int', 'retries='=>'int'],
1028310283
'SoapClient::__call' => ['', 'function_name'=>'string', 'arguments'=>'array'],
10284-
'SoapClient::__construct' => ['void', 'wsdl'=>'mixed', 'options='=>'array'],
10284+
'SoapClient::__construct' => ['void', 'wsdl'=>'mixed', 'options='=>'array|null'],
1028510285
'SoapClient::__doRequest' => ['string', 'request'=>'string', 'location'=>'string', 'action'=>'string', 'version'=>'int', 'one_way='=>'int'],
1028610286
'SoapClient::__getCookies' => ['array'],
1028710287
'SoapClient::__getFunctions' => ['array'],
@@ -10294,7 +10294,7 @@
1029410294
'SoapClient::__setLocation' => ['string', 'new_location='=>'string'],
1029510295
'SoapClient::__setSoapHeaders' => ['bool', 'soapheaders='=>''],
1029610296
'SoapClient::__soapCall' => ['', 'function_name'=>'string', 'arguments'=>'array', 'options='=>'array', 'input_headers='=>'SoapHeader|array', '&w_output_headers='=>'array'],
10297-
'SoapClient::SoapClient' => ['object', 'wsdl'=>'mixed', 'options='=>'array'],
10297+
'SoapClient::SoapClient' => ['object', 'wsdl'=>'mixed', 'options='=>'array|null'],
1029810298
'SoapFault::__construct' => ['void', 'faultcode'=>'string', 'faultstring'=>'string', 'faultactor='=>'string', 'detail='=>'string', 'faultname='=>'string', 'headerfault='=>'string'],
1029910299
'SoapFault::__toString' => ['string'],
1030010300
'SoapFault::SoapFault' => ['object', 'faultcode'=>'string', 'faultstring'=>'string', 'faultactor='=>'string', 'detail='=>'string', 'faultname='=>'string', 'headerfault='=>'string'],

tests/e2e/data/soap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class MySoapHeader extends \SoapHeader
4646

4747
public function __construct(string $username, string $password)
4848
{
49-
parent::__construct($username, $password);
49+
parent::SoapHeader($username, $password);
5050
}
5151

5252
}

0 commit comments

Comments
 (0)