sebastianbergmann / phpunit-mock-objects

Mock Object library for PHPUnit
https://phpunit.de/
Other
4.98k stars 154 forks source link

Remove PHPUnit_Framework_MockObject_MockObject #408

Closed sebastianbergmann closed 6 years ago

sebastianbergmann commented 6 years ago

In time for the release of PHPUnit 8:

This is a BC break (that should have happened together with PHPUnit 7) because many developers use annotations such as

/** @var Foo|PHPUnit_Framework_MockObject_MockObject $foo*/
$foo = $this->createMock(Foo::class);

in their code.

sebastianbergmann commented 6 years ago

Moved to https://github.com/sebastianbergmann/phpunit/issues/3123.