phpstan-phpunit icon indicating copy to clipboard operation
phpstan-phpunit copied to clipboard

Update docs with reference to PHPUnit mock classes

Open dpi opened this issue 4 months ago • 1 comments

The advice referencing PHPUnit_Framework_MockObject_MockObject doesn't seem to be correct as of PHPUnit 11, but \PHPUnit\Framework\MockObject\MockObject seems to work just as well as an intersection.

Maybe its time to update the docs?

dpi avatar Jul 23 '25 21:07 dpi