Deprecate --dump-xdebug-filter and --prepend #4226
Labels
feature/code-coverage
Issues related to code coverage (but not php-code-coverage)
feature/test-runner
CLI test runner
type/deprecation
Something will be/is deprecated
Milestone
PHPUnit 7.4 introduced the
--dump-xdebug-filter
and--prepend
command-line options for leveraging Xdebug's native filtering for faster code coverage.The developer experience of using these options is not great as PHPUnit has to be invoked twice, once to generate the filter script and once for actually running the tests. Furthermore, the implementation of
--prepend
requires a hack that completely bypasses the regular argument parsing.As @dvdoug explains in sebastianbergmann/php-code-coverage#747 (comment), almost the same effect can be achieved without requiring manual work. We should therefore get rid of
--dump-xdebug-filter
and--prepend
.The text was updated successfully, but these errors were encountered: