History log of /PHP-8.2/ext/intl/php_intl.stub.php (Results 1 – 25 of 33)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 66c4ade0 22-Aug-2022 Máté Kocsis

Declare ext/intl constants in stubs - part 14 (#9387)

# 150456ea 02-Aug-2022 Máté Kocsis

Declare ext/intl constants in stubs - part 2 (#9219)

# 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

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

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix default value of $flags in idn_to_ascii() and idn_to_utf8()


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

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

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

Merge branch 'PHP-8.0'

* PHP-8.0:
Declare a few missing function return types


# 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

# 9d54609a 09-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Use E_ERROR to report arginfo/zpp mismatch
Make NumberFormatter ctor $pattern nullable
Make IntlDateFormatter ctor $pattern nullable


# 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

12