the problem is that lines with the switch case are not covered, the switch cases themselves are being executed.
Tested on windows
This was (probably) answered in https://github.com/sebastianbergmann/phpunit/issues/2953.