Deprecate `TestCase::createPartialMock()` · Issue #5239 · sebastianbergmann/phpunit

PHPUnit can automatically generate test stubs and mock objects (test doubles) based on interfaces and classes. When it comes to doubling classes, there are limitations: final, private, and static m...