--list-tests-xml
is broken when a group with a numeric name is defined
#6096
Labels
feature/test-runner
CLI test runner
status/waiting-for-feedback
Waiting for feedback from original reporter
type/bug
Something is broken
version/11
Something affects PHPUnit 11
Summary
If a
@group
annotation specifies a numeric group (for example, 44), running PHPUnit 11 with the--list-tests-xml
leads to an internal error. Same if you specify a corresponding group attribute#[Group('44')]
. PHPUnit 10 is not affected.Current behavior
See above
How to reproduce
See above
Expected behavior
No error and list printed or saved to file.
The text was updated successfully, but these errors were encountered: