Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Remove PHPUnit_Framework_MockObject_MockObject #408

Closed
sebastianbergmann opened this issue Feb 20, 2018 · 1 comment
Closed

Remove PHPUnit_Framework_MockObject_MockObject #408

sebastianbergmann opened this issue Feb 20, 2018 · 1 comment

Comments

@sebastianbergmann
Copy link
Owner

sebastianbergmann commented Feb 20, 2018

In time for the release of PHPUnit 8:

  • Rename PHPUnit_Framework_MockObject_MockObject to PHPUnit\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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant