Skip to content
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

Collect coverage when no assertion is expected #5010

Closed
wants to merge 1 commit into from
Closed

Collect coverage when no assertion is expected #5010

wants to merge 1 commit into from

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Jul 7, 2022

fixes sebastianbergmann/php-code-coverage#921 (comment)

when no assertion is expected - test is annotated with @doesNotPerformAssertions (or with php attribute) - coverage must be collected

the added condition matches the condition used a few lines below for reporting a risky test

🎉 UPDATE: It was actually fixed a yer later: b771002 and 262b0dc backported, thank you!

@sebastianbergmann
Copy link
Owner

Thank you for your contribution. I appreciate the time you invested in preparing this pull request. However, I have decided not to merge it.

@mvorisek

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants