#88530phpunit 8.2 breaks Unit Tests
Description
We face another round of upgrades from phpunit 8.1 -> 8.2
https://github.com/sebastianbergmann/phpunit/blob/8.2/ChangeLog-8.2.md
notably changes:
- Exceptions on Mock Objects are not raised anymore, instead an own exceptions is created and thrown
- Return types of method expections are now checked for validity