--log-events-text
and --log-events-verbose-text
require the destination file to exit
#5692
Labels
feature/test-runner
CLI test runner
type/bug
Something is broken
version/10
Something affects PHPUnit 10
version/11
Something affects PHPUnit 11
PHARSummary
When trying to use either
--log-events-text
or--log-events-verbose-text
with a filename, the following error is shown:The docs at https://docs.phpunit.de/en/11.0/textui.html say
Nowhere is mentioned that the destination file has to exist.
The following works:
It would be great if the docs would properly reflect that (maybe also that things like
php://stdout
are supported, which I found out via #5633).At best, it would simply accept any file name like any of the other log options (like
--log-junit
, etc.)Thanks!
The text was updated successfully, but these errors were encountered: