How to configure NetBeans autocomplete for PHP Mockery

When I use Mockery in a PHPUnit test, I do something like this:

$mockedClass = \Mockery::mock('SomeClassName');

How can I make NetBeans to autocomplete after the $mockedClass->? \Mockery::mock() returns a MockeryInterface but NetBeans can't figure that out.


Actually, I made little mistake in my code. The example above works, as long as you DO NOT have a use \Mockery as ... statement in your file. If you put the use statement in, NetBeans gets lost. I consider this problem solved, since I found a workaround.

Need Your Help

Want to replace DXImageTransform to make FireFox/Chrome Compatible

css internet-explorer firefox

The following piece of code does not work on FF and Chrome but works on IE. I want to replace this part to make sure it works on all browsers.