I'm starting with PHPUnit, and it works fine so far. I just got one problem: Eclipse (Oxygen.3) is telling me in this line:
use PHPUnit\Framework\TestCase;
"The import PHPUnit\Framework\TestCase cannot be resolved"
I went to Window -> Preferences -> PHP -> Tools -> PHPUnit and added the path to my phpunit.phar. But this didn't help.
I went to Window -> Preferences -> PHP -> Source Paths -> Libraries and tried to import my phpunit.phar. But this results in an error "The selected file is not a valid user library data file".
Any other ideas how to get rid of this error?
Eclipse Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600
– Grangerize