History log of /PHP-8.1/Zend/tests/tentative_type_early_binding.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# 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 ...


# 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 ...


# 1bc5bd7f 15-Jul-2021 Nikita Popov

Handle both WARNING and UNRESOLVED during early binding

We would previously early exit on the WARNING, and miss the
later UNRESOLVED.