Skip to content

ErrorHandler::convertExceptionToError() Passing E_USER_ERROR to trigger_error() is deprecated since 8.4 #20348

Open
@MarkoNV

Description

@MarkoNV

ErrorHandler::convertExceptionToError() converts exception to error by triggering E_USER_ERROR.

PHP documentation says:

Warning

Passing E_USER_ERROR as the error_level is now deprecated. Throw an Exception or call exit() instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions