PHP 8.4 deprecates passing E_USER_ERROR to trigger_error(), with the recommendation being to replace these type of calls with either an Exception or an exit statement.
This commit fixes the one instance found in this codebase by introducing a new MissingFunctionExpectations exception.
Includes updating the related tests (and test names) to match.
PHP 8.4 deprecates passing
E_USER_ERROR
totrigger_error()
, with the recommendation being to replace these type of calls with either an Exception or anexit
statement.This commit fixes the one instance found in this codebase by introducing a new
MissingFunctionExpectations
exception.Includes updating the related tests (and test names) to match.
Ref: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_error_to_trigger_error
Related to #146