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
Code coverage elseif not marked as executed #531
Comments
@derickr I have created a "saved reply" based on your comment that I will use from now on. Thanks! |
There can be many reasons why a specific line is not covered. Each of them is likely a different issue. In order to be able to reproduce anything and not get bogged down with details, you need to provide the following in ONE new issue per case. That means:
This information should be filed as one specific case per issue. |
@sebastianbergmann The versions of PHP, PHP Code Coverage, Xdebug and PHPUnit are found in the table at the top of this issue.
The case is attached here in a If you need more information, let me know. |
When testing the following class the elseif is marked in the code coverage as not executed, but the lines inside the elseif are marked as executed.
The test class:
The output of Code coverage:
Is this a bug or is it something I did wrong?
The text was updated successfully, but these errors were encountered: