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
For recent Xdebug coverage collection needs XDEBUG_MODE=coverage or xdebug.mode=coverage #1473
Comments
Looking at the warning you get from phpunit:
I think this may be xdebug 3.0 , and it hasn't been configured properly for generating coverage. Do you get a coverage report when running the following command: |
I missed adding the flag Thank you a lot @BackEndTea ! 🎉 EDIT: To make it clear. Just run in the terminal XDEBUG_MODE=coverage ./vendor/bin/infection |
Should be fixed in #1510 Released as 0.22.1 |
Is there a reason we can't inject If there's none, this is not resolved. |
* Set XDEBUG_MODE for processes with coverage Fixes #1473
Output with issue
I got the following error:
I have been trying to find this issue but the only one seems related is this one: #30
But it's too old and I think it's not exactly the same issue.
You can take a look at the project if you want, there you are everything.
Do you have any clue about this? 😄
The text was updated successfully, but these errors were encountered: