You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PHP Infection with PHP 8.2, the following deprecation warning message happens:
Deprecated: Use of "static" in callables is deprecated in phar:///usr/local/bin/infection/vendor/webmozart/assert/src/Assert.php on line 939
From what I investigated, this is because PHP Infection 0.26.16 is requiring webmozart/assert:^1.3 and thanks to another dependency, the actual version installed for webmozart/assert is 1.9.1.
The deprecation is fixed on webmozart/assert 1.11.0
Would it be possible to change the composer.json to rely on webmozart/assert:^1.11 so that PHP Infection would benefit of this fix?
Or do you have other dependencies/supports that prevent you to rely on a more recent version of webmozart/assert package?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
infection.phar --version
)php -v
)When using PHP Infection with PHP 8.2, the following deprecation warning message happens:
From what I investigated, this is because PHP Infection 0.26.16 is requiring
webmozart/assert:^1.3
and thanks to another dependency, the actual version installed for webmozart/assert is 1.9.1.The deprecation is fixed on webmozart/assert 1.11.0
Would it be possible to change the composer.json to rely on
webmozart/assert:^1.11
so that PHP Infection would benefit of this fix?Or do you have other dependencies/supports that prevent you to rely on a more recent version of webmozart/assert package?
Thanks a lot!
The text was updated successfully, but these errors were encountered: