Commit graph

169 commits

Author SHA1 Message Date
Danack
b95e76e41d
Types are not hints in PHP. (#1003)
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-09 14:43:01 +01:00
Máté Kocsis
5770355a66
Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Martin Samesch
ae0535a8ea add refpurpose 2021-01-27 10:26:19 +01:00
Yoshinari Takaoka
93dc41e382 Added PHP 8 into versions.xml for soap based on stubs.
Closes GH-375.
2021-01-26 19:36:57 +01:00
Yoshinari Takaoka
bef1a3a8ee fixed XPointer evaluation failed build warning, related to soap constructor fix.
These soap class do not have any methods except for constructor.

XPointer evaluation failed: #xmlns(db=http://docbook.org/ns/docbook)
 xpointer(id('class.soapparam')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])
2021-01-23 09:23:07 +09:00
Côme Chilliet
e64ea89bbe Remove PHP4 constructors from ext/soap documentation
Contructors were still documented as aliases to classname::classname
 with the real documentation in classname::classname.

Closes GH-332.
2021-01-22 14:26:20 +01:00
Christoph Michael Becker
9a9533d480 Bring back Soap __construct() methods
The change from `<methodsynopsis>` to `<constructorsynopsis>` requires to
include the latter as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352204 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 15:47:37 +00:00
Christoph Michael Becker
40d440e3fd Generate soap methodsynopses based on stubs
Closes GH-287.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352202 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 14:46:15 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Christoph Michael Becker
20a8dc8be0 Fix parameter type
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345071 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 12:18:20 +00:00
Peter Cowburn
0dad2268d5 add missing svn properties, svn:eol-style and svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344522 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 22:01:56 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Jakub Vrana
ccac706972 Add SoapClient::__getCookies
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344016 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 17:12:19 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
4ad03c70ea Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341254 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-01 16:17:20 +00:00
Christoph Michael Becker
d7ae20ad9e Fix example title
Patch provided by anon user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340334 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 10:31:10 +00:00
Pieter Hordijk
964d983726 Changed variable name from $server to $client because we are working with the Soap**Client**
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339918 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-22 13:15:20 +00:00
Rasmus Lerdorf
c78fd91f2d 1st arg here is mixed, not string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339115 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-02 19:51:11 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker
8d7b0fadcd Fix description of default action in use_soap_error_handler description.
-- 
Provided by anonymous 60497 (falundir@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337466 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 00:44:00 +00:00
Christoph Michael Becker
d4146369d3 documented send_errors option of SoapServer constructor (fixes #42214)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337114 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-07 13:30:41 +00:00
Pasindu De Silva
a44a1e0b79 Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Adam Harvey
7b7368ed3f The soap_version option expects constants, but the documentation doesn't make
that clear.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331352 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-12 01:24:01 +00:00
Adam Harvey
71e2791e21 Use Rowan Collins' phrasing to note that SoapClient::__call() is only
deprecated for direct calls, not in general.

Fixes doc bug #65586 (Ambiguity over "deprecation" of SoapClient::__call).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-30 21:25:18 +00:00
Chris Wright
555841922a Fix typo in SOAPServer::setPersistence()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331199 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-25 18:44:34 +00:00
Jakub Vrana
2cc21e8b35 Document SoapClient ssl_method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330561 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 12:33:20 +00:00
Jakub Vrana
9e8b518051 Add versions for classes
Generated by http://pastebin.com/NByXgj7E and manually edited

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330432 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:02:33 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
f2a82da9e5 Delete unused class properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330307 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 18:50:42 +00:00
Peter Cowburn
f293a04ebc soapclient return value with exceptions option (doc #64065)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329616 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-02 14:29:16 +00:00
Adam Harvey
9993b89faf Apply a patch from tom [at] samplonius.org to note that the SOAP error handler
will send SOAP fault responses when an error occurs.

Fixes doc bug #54319 (use_soap_error_handler() doc is misleading).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328344 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-13 05:37:10 +00:00
Adam Harvey
f05dbe5e23 Add an errors/exceptions section to SoapClient::SoapClient().
Fixes doc bug #54179 (SoapClient can emit warnings, but this is not
documented).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328320 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:35:29 +00:00
Adam Harvey
c29b5cf9aa Add a note that SOAP arguments need to be associative in most cases.
Fixes doc bug #54100 (Example slightly wrong).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328317 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 04:08:43 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
c1dc0919bf Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323628 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:37:00 +00:00
Jakub Vrana
fcddfb2551 Link directly to magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Jakub Vrana
b827a32fad Use {class}::{method} instead of {class}->{method}
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 05:58:52 +00:00