Commit graph

74 commits

Author SHA1 Message Date
George Peter Banyard
41f8ef5540
Fix inconsistent section orders 2022-03-13 22:37:42 +00:00
Máté Kocsis
a464e3bda1
Generate ext/fileinfo class synospes from stubs (#1115) 2021-11-17 12:45:24 +01: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
Peter Cowburn
2e8ef0a1bd
hyphenate "object-oriented"
refs #846
2021-08-08 18:48:47 +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
George Peter Banyard
6376b92e0d Cleanup after PHP 5 mention removal 2021-04-29 15:30:37 +01:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 (#548) 2021-04-26 11:46:55 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Yoshinari Takaoka
16a98b6f39 Added PHP 8 into versions.xml for fileinfo based on stubs.
Closes GH-358.
2021-01-18 13:31:45 +01: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
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
Peter Cowburn
4daddf2893 typo and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348927 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-15 12:06:29 +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
0eee1e3484 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347499 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-28 08:48:45 +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
Kalle Sommer Nielsen
78fff43353 Documented FILEINFO_EXTENSION
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343489 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 13:00:31 +00:00
Christoph Michael Becker
2a9a5b8be0 Fix #72361: Missing link to alias function
Actually, this is a hack to work around a current bug/limitation of the doc
build (PhD) system; refer to the bug report for further details.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339319 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-10 14:15:12 +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
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
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
Adam Harvey
dee52b9d9f Add OO documentation for finfo.
Fixes doc bug #68337 (Object-Oriented version of finfo is not properly
documented).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335155 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-03 11:54:59 +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
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
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
81e5694732 Categorize extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330274 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 20:22:48 +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
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +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
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +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
Philip Olson
3ef41d6cfc Added Windows info, which closes PHP Bug #52328 and also added info about the bundled libmagic, and info for 5.2 users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301621 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 19:28:10 +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
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling
41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +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