After updating Phpstorm to latest 2018.3.1 I am running into the following problem:
Every time I am trying to run tests (phpunit) I am getting the error message: Cannot find PHPUnit in include path (.:/usr/share/php).
We are using docker-compose for our setup, everything should be configured fine (see attached screenshots)
From the configuration it seems PHPstorm found my phpunit but instead of calling the phpunit directly it uses something like this:
[docker-compose://[.-/docker-compose.yml, ./docker-compose.dev.yml]:php/]:php" /opt/.phpstorm_helpers/phpunit.php --no-configuration /src/tests
I am quite sure, before the update it used the phpunit script directly (something like /src/vendor/phpunit/phpunit/phpunit ...). But with this /opt/.phpstorm_helpers/phpunit.php it fails.
What I am doing wrong here? Is there any way to configure to use the phpunit script directly?