-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature/test-doublesTest Stubs and Mock ObjectsTest Stubs and Mock Objectstype/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken
Milestone
Description
In time for the release of PHPUnit 8:
- Rename
PHPUnit_Framework_MockObject_MockObjecttoPHPUnit\Framework\MockObject\MockObject - Remove
src/ForwardCompatibility/MockObject.php
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.
Metadata
Metadata
Assignees
Labels
feature/test-doublesTest Stubs and Mock ObjectsTest Stubs and Mock Objectstype/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken