-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch cases not being covered #2953
Comments
This should have been reported on the php-code-coverage project. I am sorry that I have to close this issue here as GitHub does not support moving issues from one project to another. |
This is probably an Xdebug issue, see xdebug/xdebug#398. CC @derickr |
Looks like it. But that issue is already fixed in Xdebug's master branch. |
I am using phpdbg and get this issue too. PHPUnit 7.5.1 |
@eghojansu experiencing same issue, Xdebug has this fixed but phpdbg doesn't |
any ideas for a possible solution with phpdbg? |
I'm also getting this when using phpdbg / phpunit 8.4.3. Workaround is to move the case statements onto one line (which fortunately is practical in this case). Can we re-open this or should I post a new issue? |
Hi @dmlogic, thats a temporary solution. On my company, we solve with Also, @sebastianbergmann post on my question this:
|
the problem is that lines with the switch case are not covered, the switch cases themselves are being executed.
The text was updated successfully, but these errors were encountered: