Commit graph

40 commits

Author SHA1 Message Date
George Peter Banyard
41f8ef5540
Fix inconsistent section orders 2022-03-13 22:37:42 +00:00
Sergey Panteleev
68ba58040e
[PHP 8.1] Use an finfo instance instead of a resource (#985)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-30 07:57:59 +03: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
Christoph Michael Becker
968bb98efd Generate fileinfo methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351435 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 23:14:53 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
1543b81b4f Fix initializers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347865 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-17 08:49:10 +00:00
Christoph Michael Becker
909d082485 Fix #76690: mime_content_type's return type is not correctly documented (2)
We also note that a warning is emitted on failure.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345422 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:49:09 +00:00
Christoph Michael Becker
37b2a90a5d Fix #76690: mime_content_type's return type is not correctly documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345416 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-01 12:20:00 +00:00
Peter Cowburn
f6886fcf4a removed old soft deprecation message (doc bug #71367)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338486 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-14 10:42:22 +00:00
Jean-Sebastien Hedde
3c3119967c Anonymous contribution
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335778 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-20 12:51:42 +00:00
Sebastian Bergmann
656d1610af Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Adam Harvey
a900588334 Fix the description of finfo_open()'s behaviour when no magic file or MAGIC
environment variable are provided.

Additionally, improved the wording of the warning and added a note recommending
the use of the bundled magic database, per Matthew's suggestion in the bug
tracker.

Fixes doc bug #64793 (finfo_open raises warning with env magic file).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330245 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 19:28:46 +00:00
Anatol Belski
550b5e2339 Documented the new fileinfo external magic behaviour.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325547 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-05 10:03:17 +00:00
Jakub Vrana
885dded38a Returns only with procedural style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323458 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-23 20:47:19 +00:00
Jakub Vrana
d6609782ef Returns only with procedural style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323455 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-23 20:10:45 +00:00
Jakub Vrana
9ad9b79675 finfo_close is not called when destructing object
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323454 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-23 20:09:50 +00:00
Jakub Vrana
0d604bbc9d Remove <classsynopsis> from methods and fields definitions
PhD uses this context for decisions about links and similar.
It also simplifies the XML

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322205 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 14:20:43 +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
Jakub Vrana
6a6061bbd4 Use &style.procedural; and &style.oop;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322055 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 06:50:17 +00:00
Philip Olson
086dc12715 Added missing refnames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312463 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-25 19:38:40 +00:00
Mark Skilbeck
1d75749ee3 Added entities and role attributes, as per Richard's suggestion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303721 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-23 11:21:00 +00:00
Mark Skilbeck
8e5ab7decb Clarifies documentation (procedural vs oop) re #52306
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303644 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-21 16:08:01 +00:00
Adam Harvey
bde325b019 Fix a typo leading to a doc build error.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298954 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 10:06:09 +00:00
Pierre Joye
1b6a99ef51 - Fix #51732, improve the doc about NULL/empty string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 09:10:38 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Jakub Vrana
ffc910e34e Move mime_content_type (bug #49635)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290709 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 22:06:43 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Scott MacVicar
156259abf2 Update documentation to reflect change with the internal libmagic updates. See bug #48885
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286383 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-27 03:16:32 +00:00
Nilgün Belma Bugüner
64d97aee36 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283809 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:01:54 +00:00
Felipe Pena
f40b2ede4d - Bug #47634 (finfo doesn't have close method as said in docs)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277501 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-20 01:56:57 +00:00
Jakub Vrana
4d50cfcce4 Initializers - part 1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273174 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-09 17:08:52 +00:00
Rudy Nappée
685a03b4b3 * No () in refnames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263467 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-24 21:54:47 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Jakub Vrana
75ecffb1cb Fix methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237770 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 15:53:14 +00:00
Maciek Sokolewicz
65ea7a6f7a added example, cleaned up description, clarified parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235088 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-06 19:45:58 +00:00
Jakub Vrana
edfc278356 Object destructor is practically the same
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210306 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-28 13:30:20 +00:00
Jean-Sébastien Goupil
e879ffacb5 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@209152 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-12 00:38:01 +00:00
Jakub Vrana
f19a0e6cd2 Document fileinfo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208999 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-09 14:15:41 +00:00