You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might need splitting further. Ideally any "internal" methods, i.e. those we use to manage and run the doubles, shouldn't be exposed in the interface.
It would be nice to update the return types (either in the code itself or in the PHPStorm Meta), so that it's clear that the various factory methods return a union type of the class the user specifies, along with the methods mockery makes available to them, but not the internal rubbish like mockery_getContainer etc.
The MockInterface extends LegacyMockInterface might still be useful to keep (see #861), but it's messy, and it might be time to cut those people loose, or provide a better alternative.
The text was updated successfully, but these errors were encountered:
This might need splitting further. Ideally any "internal" methods, i.e. those we use to manage and run the doubles, shouldn't be exposed in the interface.
It would be nice to update the return types (either in the code itself or in the PHPStorm Meta), so that it's clear that the various factory methods return a union type of the class the user specifies, along with the methods mockery makes available to them, but not the internal rubbish like
mockery_getContainer
etc.With:
I currently see:
The
MockInterface extends LegacyMockInterface
might still be useful to keep (see #861), but it's messy, and it might be time to cut those people loose, or provide a better alternative.The text was updated successfully, but these errors were encountered: