History log of /PHP-8.1/ext/intl/php_intl.stub.php (Results 1 – 25 of 28)
Revision Date Author Comments
# 20fb26e5 30-Aug-2021 Máté Kocsis

Add more specific array return type hints for various extensions - part 2

ext/ftp, ext/gmp, ext/intl

Closes GH-7433


# d5aed7b0 04-Sep-2021 Máté Kocsis

Fix default value of $flags in idn_to_ascii() and idn_to_utf8()


# c58a9f2a 24-Aug-2021 Máté Kocsis

Declare a few missing function return types

Closes GH-7395


# 9fe49668 14-Jul-2021 Nikita Popov

Remove null return type from msgfmt_parse_message()

This doesn't seem to possible. Only false is returned on failure.


# 2afbacc1 14-Jul-2021 Nikita Popov

Backport some intl stub changes from master

While we're not sure under what circumstances they would fail,
they're fallible on the implementation level.


# 5dc995df 14-Jul-2021 Nikita Popov

Eliminate null return value for Normalizer::normalize()

One error condition was returning null instead of false. Adjust
the implementation to look the same way as the exact same check

Eliminate null return value for Normalizer::normalize()

One error condition was returning null instead of false. Adjust
the implementation to look the same way as the exact same check
a few lines below.

show more ...


# 65b96397 06-Jul-2021 Máté Kocsis

Declare tentative return types for ext/intl (#6986)


# 331eddad 26-Apr-2021 Nikita Popov

Make date/time type arguments of IntlDateFormatter ctor optional

Default them to IntlDateFormatter:FULL, which has value 0, which
was what you would get if you passed null to these argum

Make date/time type arguments of IntlDateFormatter ctor optional

Default them to IntlDateFormatter:FULL, which has value 0, which
was what you would get if you passed null to these arguments in
weak typing mode. The documentation called this ICU's default
date/time type.

show more ...


# 45fa7596 09-Feb-2021 Máté Kocsis

Add missing classes to stubs


# f5768eaa 09-Feb-2021 Nikita Popov

Make NumberFormatter ctor $pattern nullable

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.

Make NumberFormatter ctor $pattern nullable

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

show more ...


# 186f9bab 09-Feb-2021 Nikita Popov

Make IntlDateFormatter ctor $pattern nullable

The implementation already made this argument nullable, but it
was not reflected in the stub.


# c6723728 05-Feb-2021 Máté Kocsis

Generate ext/intl class entries from stubs

Closes GH-6670


# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335


# 186612e4 09-Oct-2020 Máté Kocsis

Improve parameter names in ext/intl

Closes GH-6309


# 50399991 09-Oct-2020 Máté Kocsis

More precise type information for datefmt_format()


# c76910cd 16-Sep-2020 Máté Kocsis

Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary traili

Display types in stubs more uniformly

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.

show more ...


# 46c0c82a 14-Sep-2020 Máté Kocsis

Declare array|int and object-of-class|int types in stubs

Closes GH-6081

Co-Authored-By: Nikita Popov <nikic@php.net>


# 8107a1da 04-Sep-2020 Máté Kocsis

Use ZPP instead of custom type checks

We can add these types as a native type declaration to stubs as a side-effect. Closes GH-6068


# f7fbc633 14-Aug-2020 Máté Kocsis

Add more precise type info for stubs

Closes GH-6005


# 046cc5e4 07-Aug-2020 Máté Kocsis

Add another round of missing parameter types to stubs

Closes GH-5950


# 79981a39 02-Aug-2020 Máté Kocsis

Add a bunch of missing argument types to stubs


# f78a0910 31-Jul-2020 George Peter Banyard

Warning to ValueError promotion in Intl extension Part 1

Affects:
- IntlCalendar
- IntlGregorianCalendar
- IntlBreakIterator

Closes GH-5669


# 0d330e1a 28-Jul-2020 Máté Kocsis

Add a few missing parameter types in stubs

Related to GH-5627


# 4903f7c5 17-Jul-2020 Nikita Popov

Fix IntlGregorianCalendar constructor signature

Give these conversative UNKNOWN defaults and no types, as the
overload is something of a mess.


# 59656100 08-Jun-2020 Máté Kocsis

Fix some UNKNOWN default values

In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl


12