As reminder, the migration to phpunit 10 with T328919 has no problem, as no test will fail (but with phpunit 11)
https://github.com/sebastianbergmann/phpunit/issues/5241
To promote better software design, improve the readability of test code, and to reduce complexity inside PHPUnit's test double functionality, TestCase::getMockForAbstractClass() will be deprecated and then removed:
- soft deprecation in PHPUnit 10.1 (add @deprecated annotation to the method declaration)
- deprecation in PHPUnit 11 (using the method will trigger a deprecation)
- removal in PHPUnit 12
https://codesearch.wmcloud.org/search/?q=getMockForAbstractClass