Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make PHPUnit 10.1 XML coverage report and test cases names with provi…
…der compatible with Infection and old format (#1854) In PHPUnit >=10 data providers with keys are stored as `Class\\test_method#some key` In PHPUnit <10 data providers with keys are stored as `Class\\test_method with data set "some key"`. We need to translate to the old format because this is what PHPUnit <10 and >=10 understand from CLI `--filter` option. In other words, PHPUnit 10 has a BC break in XML coverage reports that this PR workarounds.
- Loading branch information
1 parent
f669c4e
commit ebbe59e
Showing
4 changed files
with
116 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters