-
-
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
Prefixed infection.phar
does not work on PHP 7.4
#1573
Comments
I cna check atm but i would check if the polyfills are whitelisted the proper way. I think humbug/php-scoper#481 is the way to go for them |
Looks like this won't be fixed, as a work around install via composer as development dependency. You can do this on the same project or in a different folder, by example:
|
I was confused about the error message because the documentation still says it's support PHP 7.4: https://infection.github.io/guide/installation.html but the phar file only works with PHP 8, or?
|
well, it should work on 7.4 for 0.26.x version. Isn't it the case? Next Infection version (0.27.x) will work only on PHP 8+. |
No it's not working with PHP 7.4, still the same error from |
For what it's worth as soon as a PR is merged on AMP functions (which should be soon), I can do a release of Box which should fix (partially) support for up to 8.1. |
infection.phar
withmake compile-docker
Error:
Note: it works fine for PHP 8+.
You can download PHAR from
0.25.1
to check it as well.Related to #1568 #1508
@theofidry probably you will have some time to give an advice, as I'm not sure I understand what is going on there.
The text was updated successfully, but these errors were encountered: