Closed sebastianbergmann closed 6 years ago
In time for the release of PHPUnit 8:
PHPUnit_Framework_MockObject_MockObject
PHPUnit\Framework\MockObject\MockObject
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.
Moved to https://github.com/sebastianbergmann/phpunit/issues/3123.
In time for the release of PHPUnit 8:
PHPUnit_Framework_MockObject_MockObject
toPHPUnit\Framework\MockObject\MockObject
src/ForwardCompatibility/MockObject.php
This is a BC break (that should have happened together with PHPUnit 7) because many developers use annotations such as
in their code.