MantisBT: master 981d8d99

Author Committer Branch Timestamp Parent
dregad dregad master 2024-02-21 18:23 master ee5194fe
Changeset

Fix Expecting E_ERROR and E_USER_ERROR is deprecated

Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be
possible in PHPUnit 10.

helper_array_transpose() now throws a ClientException instead of calling
trigger_error() when detecting a non-bidimensional array.

Adapt HelperTest::testArrayTransposeInvalid() to handle the exception
instead of E_USER_ERROR.

mod - core/helper_api.php Diff File
mod - tests/Mantis/HelperTest.php Diff File