Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters