I use a global phpunit.phar and fail to get code completion of ie. \PHPUnit_Framework_TestCase. Therefore all my typos of assert* are not corrected ...
Any idea what I can do to have code completion?
Also does the ".phar" matter? As the phpunit installation advices to move it to /usr/local/bin/phpunit (https://phpunit.de/getting-started.html).
PHPStorm: 8.0.1, build: 138.2001
OS: OSX Yosemite 10.10.1
A screenshot with the PHPUnit config is attached.
I read this documentation: https://confluence.jetbrains.com/display/PhpStorm/PHPUnit+support+in+PhpStorm#PHPUnitsupportinPhpStorm-2.EnablingPHPUnitforourproject