I end up with a lot of warnings around the use of the PHPUnit MockObject class in tests.

I wonder what the general advice is from phptools folks to deal with this?
Is it expected that we should correctly typehint the possibility of MockObject in all of these places?
Should / could we add some sort of magic special case for such magicish mock objects?
I end up with a lot of warnings around the use of the PHPUnit MockObject class in tests.
I wonder what the general advice is from phptools folks to deal with this?
Is it expected that we should correctly typehint the possibility of MockObject in all of these places?
Should / could we add some sort of magic special case for such magicish mock objects?