Description
https://github.com/krakjoe/pcov Can be used like xdebug, but is a lot more lightweight.
This will allow phpstorm to run code coverage reports very quickly:
https://www.jetbrains.com/phpstorm/whatsnew/#ml-assisted-ranking-for-code-completion
PCOV was already added in an earlier PR, but it is missing the optional flag, and it also needs to not run in the xdebug container.
#136
This should be optional, with a flag --with-pcov and additionally, it should be installed into the normal CLI container, so that phpstorm can access.
One note:
interoperability with Xdebug is not possible
interoperability with phpdbg is not possible
This means that the two options cannot be used in the same containers, this is ok as we do not run xdebug in the CLI or FPM container, they have their own containers and are routed to from nginx.