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() when configuration is invalid #1384
Comments
Some additional information |
Chances are this is because PHP-Scoper does not know that it should keep Related to #1354 Solution is probably going to be similar. |
Thanks. It's working again. And now to kill some mutants 😁 |
I encountered this issue with one of my projects today with version PHP 7.4.11 My configuration{
"source": {
"directories": [
"app"
],
"excludes": [
"Mail",
"Nova",
"Providers",
"Policies"
]
},
"logs": {
"text": "infection.log"
},
"mutators": {
"@default": true
}
} Infection verbose output
Should I create a new issue? |
yes please |
Could you please try latest version (0.20.2) before you raise new issue? @canvural I suppose 0.20.2 should work without issue |
@sidz PHAR from https://github.com/infection/infection/releases/tag/0.20.2 downloads
Edit: Same with |
Running infection with a wrong (not malformed) configuration file (see the repository) crashes the application
with
Call to undefined function _HumbugBox6673b05a0af0\Symfony\Component\Console\get_debug_type()
.As this function is introduced in PHP 8.0, this might need the PHP 8 Polyfill.
Output with issue
The text was updated successfully, but these errors were encountered: