Commit ac67ebd
committed
Fix coverage generation by adding php-code-coverage library
Root cause identified: PHPUnit cannot generate coverage reports
without the phpunit/php-code-coverage library. While yoast/wp-test-utils
provides PHPUnit, it doesn't include the code coverage components.
Adding phpunit/php-code-coverage ^9.2 to match PHPUnit 9.6.29.
This will allow PCOV to work properly with PHPUnit to generate
coverage.xml files.1 parent a4a96a0 commit ac67ebd
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments