Skip to content
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

autocompletion without declaring methods #6

Open
Ma27 opened this issue Nov 7, 2015 · 4 comments
Open

autocompletion without declaring methods #6

Ma27 opened this issue Nov 7, 2015 · 4 comments

Comments

@Ma27
Copy link

Ma27 commented Nov 7, 2015

is it possible to gain autocompletion without declaring all methods to mock?

$this->getMock(EntityManagerInterface::class);

should do in order to have proper autocompletion when mocking methods. The issue is that interfaces have to mock every methods when adjusting methods through the $methods parameter, so I'd like to have the auto completion without having to use that parameter.

@King2500
Copy link
Contributor

King2500 commented Jan 2, 2016

I fixed this in Pull request #4 .
Waiting for review by @maxfilatov

@Ma27
Copy link
Author

Ma27 commented Jan 2, 2016

ok, thx!

@harley84
Copy link

harley84 commented Feb 9, 2016

Does it work for you, guys? Seems like in version 1.2.1 of the plugin its not yet there.

@King2500
Copy link
Contributor

King2500 commented Feb 9, 2016

it's in 1.3, which is not released as final version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants