Commit graph

303 commits

Author SHA1 Message Date
Christoph M. Becker
c05a0bfb23 Fix #66101: IntlCalendar::getDayOfWeekType always return 0 or 1 never 2 or 3 2021-01-12 19:18:03 +01:00
Peter Cowburn
a5f69d2d8a typofixes for IntlDateFormatter::getLocale() 2020-12-30 14:53:05 +00:00
Christoph Michael Becker
80858f3bd0 Add new IntlDateFormatter constants
Closes GH-267.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351939 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 23:34:08 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
60f5e69be3 Document procedural APIs of IntlTimeZone
While we're at it, we fix the return type of IntlTimeZone::getoffset().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351641 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 13:28:01 +00:00
Christoph Michael Becker
88fb6b2fa2 Move month sequence description to month parameter
Patch contributed by othercorey <corey.taylor.fl@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351574 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 13:26:48 +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
Christoph Michael Becker
eb0bd932eb Replace "number" type with built-in types
There is really no need for a pseudo type here; we can either use the
`int|float` union, or spell out the abbreviation, instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351123 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:17:09 +00:00
Christoph Michael Becker
53242ee662 Properly markup union types
Since r350738 added support for union types to our DocBook DTD, we
should use it.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:45:25 +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
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
fa127017c2 Fix #64651: Values for first argument of transliterator_create()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350589 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-18 13:44:34 +00:00
Nikita Popov
99b3c9956b Fix Locale#getKeywords style inconsistencies
Patch by BafS.

Closes php/doc-en#132.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350372 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-24 14:01:26 +00:00
Karoly Negyesi
7a1faecefe document rules
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350035 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-14 23:05:03 +00:00
Karoly Negyesi
3717f34598 document INTL_ICU_VERSION
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350031 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-12 11:16:43 +00:00
Nikita Popov
b19e2ca3c9 IntlCalendar::setMinimalDaysInFirstWeek: fix procedural function name
Patch by jrfnl.

Closes php/doc-en#83.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349762 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-10 08:27:08 +00:00
Christoph Michael Becker
ba38a95b6a Fix other typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349710 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:53:54 +00:00
Christoph Michael Becker
9e4c917c09 Fix other miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349709 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:50:00 +00:00
Christoph Michael Becker
90d4bd6eaa Fix #72271: Collator::getSortKey() doc page is out of date, incomplete, inaccurate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349647 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-10 12:42:05 +00:00
Christoph Michael Becker
2d7f05b10e Fix #79454: transliterator_get_error_message arginfo is incorrect
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349637 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-07 14:58:56 +00:00
Christoph Michael Becker
67923ad06f Add missing visibility specifiers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349457 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-15 10:33:51 +00:00
Yoshinari Takaoka
a649751b36 deleted needless parentheses in <function></funciton>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348932 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-16 11:00:01 +00:00
Christoph Michael Becker
c3ad1e8e1b Document new NumberFormatter::CURRENCY_ACCOUNTING
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348480 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-09 15:52:47 +00:00
Christoph Michael Becker
0332551080 Fix #78484: Missing constructor error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348154 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-13 16:50:06 +00:00
Christoph Michael Becker
9d030e15df Clarify $variant parameter values
Cf. <https://news-web.php.net/php.internals/106693>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347889 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-23 10:47:05 +00:00
Nikita Popov
708c4884f2 Fix typos
Patch by carusogabriel.

Closes php/doc-en#5.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347753 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-15 14:29:36 +00:00
Christoph Michael Becker
46b513526e Fix #78107: Some intl pages don't have version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347548 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 11:26:04 +00:00
Christoph Michael Becker
97d01b1bac Fix #77871: NumberFormatter::formatCurrency returns false, which is not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347262 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-17 10:47:18 +00:00
Pasindu De Silva
772d11cb2b This patch will add the newly available class constants for spoofchecker.
-- 
Provided by anonymous 93866 (giantcrabby@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346782 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 23:33:18 +00:00
Christoph Michael Becker
8551026131 Fix typo
Patch provided by Brian Weston.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346506 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-31 19:57:36 +00:00
Christoph Michael Becker
daee9e9ce9 Fix return value docs
This also integrates user note 123394.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346144 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-02 13:59:10 +00:00
Christoph Michael Becker
7651e3641b Proper i18n
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345669 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-21 11:55:22 +00:00
Christoph Michael Becker
437bbf134e Show inherited constants
We do this for the classes of the core and bundled extensions only, for now.
This also allows us to remove some slightly incorrect and unnecessary copy
and paste documentation, where inherited constants have been explicitly
documented for child classes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345662 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 15:10:00 +00:00
Christoph Michael Becker
ac8c2589a3 Update wrt. PHP 7.4.0
See <http://git.php.net/?p=php-src.git;a=commit;h=01912f93c3f702b5b34a0a9a4c8f529785b0286a>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345641 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 13:17:20 +00:00
Christoph Michael Becker
19e73c0754 Document ICU ≥ 50.1 requirement
See <https://github.com/php/php-src/pull/3487>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345640 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 12:17:27 +00:00
Christoph Michael Becker
de9a87ad3f Fix #76880: Documentation shows case that cannot be used
The example is invalid as of PHP 5.5.0, so we remove it.
Anybody with a working example?

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345633 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 11:44:34 +00:00
Christoph Michael Becker
965d2a4d29 UTS 46 support requires ICU ≥ 4.6
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345592 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-04 14:52:08 +00:00
Christoph Michael Becker
19209bbc8e Add missing parameter for datefmt_set_timezone()
-- 
Provided by anonymous 92647 (github@caugner.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345390 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-25 15:44:51 +00:00
Christoph Michael Becker
ff7261ddd9 Fix typo: change "IntlCodePointBreaIterator" to "IntlCodePointBreakIterator"
-- 
Provided by anonymous 92142 (php@siliconforks.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345203 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 11:40:21 +00:00
Nikita Popov
b7b8f77a69 Fix type of getPartsIterator key_type parameter
Also document values it accepts

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345135 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 22:00:49 +00:00
Christoph Michael Becker
71ac13cbde Document ICU version requirement
Inspired by a contribution of an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344865 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 14:54:11 +00:00
Peter Cowburn
7fab73b059 Initial docs for Normalizer::getRawDecomposition()
Patch provided by Ekin (me@ekins.space)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344570 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-26 21:14:43 +00:00
Christoph Michael Becker
ffb4a54293 Use the appropriate constant as parameter default
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344547 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-21 22:23:24 +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
Christoph Michael Becker
dda28ddda6 Fix bug #74953: Locale::getDisplayName has inconsistent 2nd argument
-- 
Provided by anonymous 88937 (carusogabriel34@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344473 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-09 12:53:37 +00:00
Jakub Vrana
578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +00:00