-
Notifications
You must be signed in to change notification settings - Fork 64
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
PHP 8.1 x86 deprecation: Implicit conversion from float 4294967295 to int loses precision #140
Comments
…rekas) This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] require ext-sodium in tests | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This removes a deprecation on PHP 8.1 (reported as paragonie/sodium_compat#140) And skips two test cases that take more that 1 minute when running with the polyfill. Commits ------- b5b86dd [FrameworkBundle] require ext-sodium in tests
Could you share a stack trace of where this is getting called to produce this error? |
We've tried to reproduce this in a PHP 8.1 environment, but were unsuccessful. I'm going to look through the code for all possible sources of error tonight. |
Here is what I have:
|
Can you replace your dependency with |
I forgot about GitHub's magic interpretations of |
This one is gone, here is a new one:
|
It looks like all places that use |
(and I run a local Windows VM to get the stack trace) |
Related to #140, determined from local testing as per #140 (comment)
We dived a bit deeper and found numerous other places where this error was occurring on PHP 8.1 on x86 Windows builds. Can you please update and verify that this is fixed for you? |
Green, congrats and thank you! |
Awesome, we'll tag a new version posthate |
Seen on PHP 8.1 x86, eg:
https://ci.appveyor.com/project/fabpot/symfony/builds/42721332#L1682
The deprecation disappears when I enable ext-sodium.
The text was updated successfully, but these errors were encountered: