Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TRAC 46149 void | WAIT FOR 47381 + 46149 Ass | Tests: replace `expect…
…Exception()` for PHP native errors ... with calls to the dedicated PHPUnit 8.4.0+ methods. The old manner of testing these is soft deprecated as of PHPUnit 8.4, hard deprecated as of PHPUnit 9.0 and will be removed in PHPUnit 10.0.0. Most calls like this were already replaced in the patch which introduced the PHPUnit Polyfills, however, this particular one could not be changed yet due to the mismatch between the PHPUnit version and the PHP version on which the tests were being run. Fixed now anyway. Ref: * https://github.com/sebastianbergmann/phpunit/blob/8.4.3/ChangeLog-8.4.md#840---2019-10-04 * sebastianbergmann/phpunit#3775
- Loading branch information