-
-
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
Call to undefined function get_debug_type() #1470
Comments
Can you reproduce this issue with composer-installed Infection? E.g. |
@sanmai Yes. Installed This time a different error with stacktrace: StacktracePHPUnit version: 9.5.0 784 [============================] 1 min [InvalidArgumentException] Exception trace: So I saw it mentioned JUnit. And I checked my My issue is solved. But maybe error handling around empty |
do you know the reason why |
@maks-rafalko No, I'm not sure. I was running the code coverage during the morning. I had a couple of PHPUnit errors. Maybe it just created an empty file. Definitely not related to Infection. |
My issue is similar to #1384 but my configuration is valid I think.
My configuration
I'm running infection with
./infection.phar --coverage=tests/_reports "--initial-tests-php-options=-d memory_limit=-1"
With `-vvv` option this is the output
PHPUnit config
Without
-vvv
the error is:I use the same command on different projects, and it works fine there. So I'm thinking maybe something is wrong in the generated coverage? Although they are both generated with same PHPUnit and XDebug version
The text was updated successfully, but these errors were encountered: