summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-8.0'Nikita Popov2021-02-091-2/+2
|\ | | | | | | | | | | | | * PHP-8.0: Use E_ERROR to report arginfo/zpp mismatch Make NumberFormatter ctor $pattern nullable Make IntlDateFormatter ctor $pattern nullable
| * Make NumberFormatter ctor $pattern nullableNikita Popov2021-02-091-1/+1
| | | | | | | | | | | | | | | | Whether the pattern is needed depends on the used style. If no pattern is needed, null is a more sensible value than an empty string. fixup
| * Make IntlDateFormatter ctor $pattern nullableNikita Popov2021-02-091-1/+1
| | | | | | | | | | The implementation already made this argument nullable, but it was not reflected in the stub.
* | Generate ext/intl class entries from stubsMáté Kocsis2021-02-091-1/+5
|/ | | | Closes GH-6670
* Verify parameter names of function aliasesMáté Kocsis2020-10-161-3/+3
| | | | Closes GH-6335
* Improve parameter names in ext/intlMáté Kocsis2020-10-121-128/+128
| | | | Closes GH-6309
* More precise type information for datefmt_format()Máté Kocsis2020-10-091-1/+1
|
* Display types in stubs more uniformlyMáté Kocsis2020-09-161-1/+1
| | | | | | In preparation for generating method signatures for the manual. This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
* Declare array|int and object-of-class|int types in stubsMáté Kocsis2020-09-141-7/+3
| | | | | | Closes GH-6081 Co-Authored-By: Nikita Popov <nikic@php.net>
* Use ZPP instead of custom type checksMáté Kocsis2020-09-041-2/+1
| | | | We can add these types as a native type declaration to stubs as a side-effect. Closes GH-6068
* Add more precise type info for stubsMáté Kocsis2020-09-011-7/+5
| | | | Closes GH-6005
* Add another round of missing parameter types to stubsMáté Kocsis2020-08-071-1/+12
| | | | Closes GH-5950
* Add a bunch of missing argument types to stubsMáté Kocsis2020-08-031-1/+11
|
* Warning to ValueError promotion in Intl extension Part 1George Peter Banyard2020-07-311-15/+15
| | | | | | | | | Affects: - IntlCalendar - IntlGregorianCalendar - IntlBreakIterator Closes GH-5669
* Add a few missing parameter types in stubsMáté Kocsis2020-07-301-1/+2
| | | | Related to GH-5627
* Fix IntlGregorianCalendar constructor signatureNikita Popov2020-07-171-1/+1
| | | | | Give these conversative UNKNOWN defaults and no types, as the overload is something of a mess.
* Fix some UNKNOWN default valuesMáté Kocsis2020-06-091-2/+2
| | | | In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl
* Generate method entries for ext/intlMáté Kocsis2020-04-141-2/+2
| | | | Closes GH-5370
* Fix the default value of the $length parameter of grapheme_substr()Máté Kocsis2020-04-101-1/+1
|
* Do not include the same stub multiple timesMáté Kocsis2020-04-031-0/+422
Closes GH-5322