-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
ignoreSourceCodeByRegex option is ignored between // @codeCoverageIgnoreStart and // @codeCoverageIgnoreEnd #1561
Comments
Try this: // @infection-ignore-all
throw new LogicException() Compare these two: |
Sure, but since since I throw multiple logic exception, I would prefer to use a global regex rule. Compare Adding a comment is breaking the ignore rule |
I think it's a bug: https://infection-php.dev/r/l0r2 I think it's because the mutation has two lines diff. |
It's seems related to https://infection-php.dev/r/r5w6
|
So it looks like |
Any idea how to fix this/where I should look at to fix this ? |
Thanks for reporting this issue, fixed and released as Before: https://infection-php.dev/r/4kdo |
I have multiple mutation
Which I don't succeed to ignore
I tried
with no success,
I also tried to ignore
instead but nothing changed.
And I clearly don't understand what is wrong with my regex
The text was updated successfully, but these errors were encountered: