MantisBT: master 799c833d

Author Committer Branch Timestamp Parent
dregad dregad master 2026-01-12 17:40 master 5527c3bd
Affected Issues  0036812: PHP 8.4: Passing E_USER_ERROR to trigger_error() is deprecated
Changeset

Move error message localization to Trait

Avoids code duplication, as this behavior is needed both in our native
Exceptions (derived from MantisException), and the ErrorHandlerException
(derived from PHP's ErrorException).

Fixes 0036812

mod - core/exceptions/ErrorHandlerException.php Diff File
add - core/exceptions/LocalizedErrorMessageTrait.php Diff File
mod - core/exceptions/MantisException.php Diff File