When running the test suite on armhf and using PHP 8.5, a warning is displayed when some casts to int lead to overflows.
This was caught during the PHP 8.5 migration on Ubuntu. Here are the logs of a test run where you can read:
Warning: The float 4294967295 is not representable as an int, cast occurred in /usr/share/php/Log.php on line 677
These warnings are polluting the output and causing the tests to fail. On Ubuntu, I've added a patch to just ignore the warnings and move on, as the expected values in the tests are correct even in the 32bits systems. I can open a PR with this patch, but I'd like to know if you have a better idea around the issue.
When running the test suite on armhf and using PHP 8.5, a warning is displayed when some casts to
intlead to overflows.This was caught during the PHP 8.5 migration on Ubuntu. Here are the logs of a test run where you can read:
These warnings are polluting the output and causing the tests to fail. On Ubuntu, I've added a patch to just ignore the warnings and move on, as the expected values in the tests are correct even in the 32bits systems. I can open a PR with this patch, but I'd like to know if you have a better idea around the issue.