-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Magic Prophecy methods should accept argument tokens for any argument #29
Comments
Note that #12 is a subset of this case (specifically for one particular kind of token) |
I have been issuing a similar problem with the folks at PHPStorm on their issue tracker and they referred me back to this plugin and we closed the issue as won't fix. You can follow this issue here: https://youtrack.jetbrains.com/issue/WI-38593. There is a sample project that I made that clarifies the situation where it shows that using |
@Haehnchen any plan to work on a fix for this issue ? |
Great stuff! Works really well. Should I file a) one or b) two separate issues for the following?
|
Currently, using a Prophecy argument token when writing a Prophecy mock triggers a warning about invalid type.
Instead, all magic mock method should have their arguments accepting their original argument type OR
\Prophecy\Argument\Token\TokenInterface
The text was updated successfully, but these errors were encountered: