How can I get IDE autocomplete for PHPUnit? How can I get IDE autocomplete for PHPUnit? symfony symfony

How can I get IDE autocomplete for PHPUnit?


Add it as a library... in the project that you are editing add it to 'External Libraries'.

It should then be included.


For me (Ubuntu 12.04) it was adding this folder as external library:

/usr/share/php/PHPUnit


For PHPStorm users, go to File -> Settings -> Project Settings ->PHP and add the path in there.