Nikita Popov
841d0b30eb
Slightly clean up cookies handling
...
Make the property always an array with an empty array default.
Properly separate the array on modification to compensate.
2021-08-20 14:27:24 +02:00
Nikita Popov
6b05d958aa
Make internal SoapServer/SoapClient state private
...
This was previously implicitly public due to the use of dynamic
properties. Make this internal state private.
If someone complains, we can consider relaxing this to protected
or public on a case-by-case basis.
2021-08-20 12:54:39 +02:00
Nikita Popov
e6c6abf6b4
Declare remaining SoapClient properties
2021-08-20 12:50:19 +02:00
Nikita Popov
32d663e198
Declare SoapFault properties
2021-08-20 10:08:22 +02:00
Nikita Popov
018cb891cf
Declare some SoapClient properties
...
This is only a subset of all properties for now (those without
underscore).
2021-08-19 16:15:41 +02:00
Nikita Popov
7d4f2f5392
Declare SoapHeader properties
2021-08-19 14:27:09 +02:00
Nikita Popov
bdf8b9ed2d
Declare SoapServer::$service property
2021-08-19 14:10:21 +02:00
Nikita Popov
c58c926034
Declare SoapVar properties
2021-08-19 12:35:37 +02:00
Nikita Popov
030bb36ed7
Declare SoapParam properties
2021-08-19 11:48:56 +02:00
Máté Kocsis
8ae4b56027
Declare tentative return types for ext/soap
...
Closes GH-7001
2021-05-26 12:18:51 +02:00
Máté Kocsis
a730dc0cf9
Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidy
...
Closes GH-6696
2021-02-15 11:45:26 +01:00
Nikita Popov
788abb8cc8
Accept null $location in SoapClient::__setLocation()
...
Currently an empty string is used to unset the location. Once
again, it makes more sense to use a null value for this purpose
(though the special behavior of empty strings is retained).
The code comment above the function also explicitly indicates
that null should be accepted, and the function does return null
rather than an empty string for the old location value (if it
is missing).
2021-02-10 10:50:42 +01:00
Nikita Popov
32d128d219
Make SoapVar arguments nullable
...
$typeName, $typeNamespace, $nodeName and $nodeNamespace all
special-case the empty string and don't set the property entirely
in that case. It makes more sense to use null to indicate absence
here (though of course the empty string behavior is retained).
2021-02-10 10:36:32 +01:00
Nikita Popov
c4a25da096
Update ext/soap parameter names
...
Closes GH-6300.
2020-10-08 16:32:01 +02:00
Nikita Popov
9e32e1322e
Accept bool in SoapClient::__doRequest
...
$one_way is a boolean argument.
2020-10-08 12:36:49 +02:00
Máté Kocsis
47d9446c48
Promote warnings to exceptions in ext/soap and ext/xmlwriter
...
Closes GH-5998
2020-09-01 14:22:19 +02:00
Máté Kocsis
2803c8fb8d
Add all the missing parameter types to stubs
...
Closes GH-5955
2020-08-13 14:47:18 +02:00
Máté Kocsis
79981a394e
Add a bunch of missing argument types to stubs
2020-08-03 00:45:51 +02:00
Nikita Popov
ac56ca0dcc
Separate __call and __soapCall implementations
...
This is overly pedantic, but allows us to enable more arginfo
consistency checks.
2020-07-21 12:59:28 +02:00
Máté Kocsis
4815be44db
Generate function entries from stubs
...
Converts ext/pcntl, ext/simplexml, ext/snmp, ext/soap, ext/sqlite3.
Closes GH-5421
2020-04-20 10:38:41 +02:00
Máté Kocsis
e088836bbc
Fix nullable types in PHPDoc
2020-04-12 00:25:33 +02:00
Máté Kocsis
ca006e54e3
Add missing visibility modifiers in stubs
2020-04-11 10:23:51 +02:00
Nicolas Grekas
9e775db025
Define Stringable with __toString():string method
2020-03-02 15:25:32 +01:00
Craig Duncan
8326ef5519
Convert soap functions arginfo to php stubs
...
We alos make the last parameter of `SoapClient::__setCookie()` and
`SoapFault::__construct()` properly nullable.
2019-09-20 11:21:13 +02:00