History log of /PHP-8.2/Zend/tests/deprecation_to_exception_during_inheritance.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# 3eeeeeb1 02-Sep-2021 Nikita Popov

Fully qualify ReturnTypeWillChange in deprecation message

When adding the #[ReturnTypeWillChange] attribute in namespaced
code, you also need to use ReturnTypeWillChange, otherwise it

Fully qualify ReturnTypeWillChange in deprecation message

When adding the #[ReturnTypeWillChange] attribute in namespaced
code, you also need to use ReturnTypeWillChange, otherwise it
will be silently ignored and may result in confusion. Change the
deprecation message to suggest #[\ReturnTypeWillChange], which
will always work.

Closes GH-7454.

show more ...


# 6cc928c7 02-Sep-2021 Nikita Popov

Fully qualify ReturnTypeWillChange in deprecation message

When adding the #[ReturnTypeWillChange] attribute in namespaced
code, you also need to use ReturnTypeWillChange, otherwise it

Fully qualify ReturnTypeWillChange in deprecation message

When adding the #[ReturnTypeWillChange] attribute in namespaced
code, you also need to use ReturnTypeWillChange, otherwise it
will be silently ignored and may result in confusion. Change the
deprecation message to suggest #[\ReturnTypeWillChange], which
will always work.

Closes GH-7454.

show more ...


# 1a370d33 30-Jul-2021 Nikita Popov

Skip some tests under --preload

A genuine problem here is that we sometime get different class
casing due interaction with the ZSTR CE cache. Ignore these for
now.


# 773e9ba5 28-Jun-2021 Máté Kocsis

Mention ReturnTypeWillChange attribute in the error message (#7183)


# 100a1e8e 28-May-2021 Nikita Popov

Convert exception during inheritance to fatal error

Now that inheritance can throw deprecations again, these may be
converted to exception by a custom error handler. In this case
we

Convert exception during inheritance to fatal error

Now that inheritance can throw deprecations again, these may be
converted to exception by a custom error handler. In this case
we need to convert the exception to a fatal error, as inheritance
cannot safely throw in the general case.

show more ...