I'm using Xdebug to get some coverage data during my unit tests, but it costs a lot of time (and memory).
Is there any way to get coverage without using Xdebug?
As of PHP 7, you can use PHPDBG instead of Xdebug to collect code coverage information with PHPUnit. However, there will always be a resource penalty (time and memory) when code coverage information is collected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With