mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 15:46:37 +03:00
Fixed default phpunit.xml.dist: add filter/whitelist
If we don't do that, phpunit is not able to compute the code coverage. We get the following error without it: ``` Error: Incorrect whitelist config, no code coverage will be generated. ```
This commit is contained in:
@@ -22,4 +22,10 @@
|
||||
<directory>tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>./src/</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user