Closed cjost1988 closed 2 years ago
Can you share a reproducer ?
The error indicates that prophecy didn’t know what class to double
Thanks for your responses. Sadly this issue does not occur with a brand new installation of symfony 3/4/5 - I've tested them all. I will now try to identify why this is happening in existing projects. I guess it's related to a dedicated component installed.
@ptdias25 any chance you could share some code that reproduces it?
@ptdias25 any chance you could share some code that reproduces it?
the error was on my side, sorry :X thanks for the quick reply!
Hi,
I am trying to mock
ValidatorInterface
https://github.com/symfony/validator/blob/5.x/Validator/ValidatorInterface.php and inject it into a service that is depending on a class instance implementing this interface.Following error occurs and I don't really understand it:
I tried to find some information on the internet but that wasn't successful.
Thanks in advance.
Cheers, Chris