phpspec / prophecy

Highly opinionated mocking framework for PHP 5.3+
MIT License
8.53k stars 242 forks source link

Implement the DoubleInterface on double classes #603

Closed stof closed 1 year ago

stof commented 1 year ago

While working on improving the code analysis, I discovered that the DoubleInterface is not implemented in double classes, contrary to what is documented in the signature of the Doubler.

I also added a test covering the fact that we implement ProphecySubjectInterface, but this one was already passing.