Similar to #386 It would be cool to support virtuell methods too.
A lot of our unit tests got reported.
This code
$mock = $this->createMock(Foo::class); // Returns \PHPUnit_Framework_MockObject_MockObject $mock->method('foo');
ReportsPhanUndeclaredMethod Call to undeclared method \PHPUnit_Framework_MockObject_MockObject::method
Because of this
/** * Interface for all mock objects which are generated by * PHPUnit_Framework_MockObject_MockBuilder. * * @method PHPUnit_Framework_MockObject_Builder_InvocationMocker method($constraint) * @since Interface available since Release 1.0.0 */ interface PHPUnit_Framework_MockObject_MockObject
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4