84 Commits

Author SHA1 Message Date
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
haszi
4968cab7de Add FILEINFO_APPLE constant 2024-05-20 13:13:36 +01:00
haszi
790b69f2e0 [skip-revcheck] Fix whitespace 2024-05-20 13:13:36 +01:00
Máté Kocsis
db22a7cfcb Sync some methodsynopses with stubs (#3356)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-04-28 21:42:56 +01:00
Máté Kocsis
5e9500ddad [skip-revcheck] Syncronize predefined constants with stubs - part 1 (#2739)
Preparation commit for syncing constants with stub.

This reformats the page, which is mainly just whitespace changes.
2023-09-04 23:37:50 +01:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Fahad Ali Khan
811ee28918 Fix minor typo in code comment (#2691)
No revcheck is skipped as some translations copy/paste examples without translating comments.
2023-08-18 12:42:21 +01:00
Máté Kocsis
1160ec4e7d Update ext/fileinfo role attributes (#2062) 2022-12-11 23:19:49 +01:00
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