In my phpunit.xml file, I've got a chunk for logging code coverage reports, something like this:
<logging>
<log type="coverage-html" target="./logs/coverage" ...
</logging>
I don't like using a hard-coded string for the target path however. I would like each user to be able to specify their target via an environment variable so they can have the logs go wherever they like, without having to change a source-controlled file. I'm looking to do something like this:
<logging>
<log type="coverage-html" target="$LOG_PATH" ...
</logging>
I don't see any support for this sort of substitution in the PHPUnit docs. Does anyone have an idea for how to accomplish this?