Closed Jean85 closed 2 years ago
From the same article:
Update (June 22, 2021): Since this article was written, the --dump-xdebug-filter and --prepend options discussed here were removed from PHPUnit because they were no longer needed thanks to improvements in php-code-coverage. Furthermore, most developers use the PCOV extensions these days to collect line coverage information and Xdebug 3 is a lot faster than Xdebug 2.
Thank you for reminding me. Closing as no longer needed.
PHPUnit has now a way to whitelist where to enable Xdebug, to improve performance in code coverage collection: https://thephp.cc/news/2019/01/faster-code-coverage
We could leverage this to improve Paraunit's performances. We would need to check if the feature is usable though, checking or limiting PHPUnit version and checking the Xdebug version too.