-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
A unit fails on php 5.4 #4718
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
Comments
I'm already looking it. I'm compiling some different PHP versions (5.3.3, 5.3.14 and 5.4.4) with different ICU versions (4.2 to 4.6) to know if the error is from PHP or intl. |
It fails also on 5.3.14. |
I've commented the test for now to avoid having all builds fail. |
Ok. Now I have all the necessary stuff on a 32bit VM. I'll probably make a PR later today. |
The PHP guys fixed a bug that I reported some time ago. It's because this fix that our test fail :) |
Commits ------- 28f002d [Locale] fixed bug on the parsing of TYPE_INT64 integers in 32 bit and 64 bit environments, caused by PHP bug fix :) (closes #4718) Discussion ---------- [Locale] fixed bug on the parsing of TYPE_INT64 integers in 32 bit and 64 bit environments, caused by PHP bug fix Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: #4718 License of the code: MIT [](http://travis-ci.org/eriksencosta/symfony) Tests pass on PHP 5.3.3, 5.3.14 and 5.4.4 with ICU 4.2, 4.4 and 4.6 on 32 and 64 bit environments.
Failed asserting that -2147483648 is of type "float".
/home/vagrant/builds/symfony/symfony/src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php:934
@eriksencosta: Can you have a look at it?
The text was updated successfully, but these errors were encountered: