-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix prophecies #2902
Fix prophecies #2902
Conversation
Should we update the composer file as well to https://github.com/slimphp/Slim/blob/4.x/composer.json#L52 |
Sure, I don't think anyone will get hurt. |
@adriansuter @l0gicgate |
I just wrote to the corresponding issue phpspec/prophecy#458. Let's see and wait. In the meantime, how about updating
|
@adriansuter this is a good temporary solution. Using Thank you for the quick PR by the way. I think we should probably wait to merge this until we hear back on phpspec/prophecy#457 |
phpspec/prophecy#460 is going to resolve this issue. But, as mentionned in the PR, it is a best practice to use Argument::is() for strict comparison. It is maybe better for Slim to use Argument::is() (we don't have that much changes to do in other repos). |
Okay @t0mmy742 I'm going to merge this then. |
Fixes #2901.