-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
HHVM compatibility #580
HHVM compatibility #580
Conversation
goetas
commented
May 9, 2016
•
edited
Loading
edited
- reflection incompatibility between hhvm & php
Please also check the Scrutinizer issue, we might need to adjust the exception it looks like. |
tests are not green on HHVM |
Would be great to also allow the new Validator API available in Symfony 2.5+ (which is the only one in 3.0+) |
2600a3d
to
a503b0a
Compare
@schmittjoh issues on scrutinizer errors are because HHVM introduces a new public property on the reflection object |
Currently making the serializer fully compatible with HHVM 3.6 is not easy. It looks that 3.6 has a buggy implementation of the |
@goetas, yes aware of that, but I was referring to the one about the exception. Did you check that, too? |
3.6 seems quite outdated, I think we should not try to make that compatible if it has problems. |
@schmittjoh https://scrutinizer-ci.com/g/schmittjoh/serializer/inspections/481ad1b4-439f-4e33-88f8-0cfa960c1aab/issues/ i see only 3 new issues. can you specify ? |
totally agree. but travis allows only HHVM 3.6. I'm not aware of a way to install a different version |
I was referring to this one here: https://scrutinizer-ci.com/g/schmittjoh/serializer/inspections/f09be7fe-fd8f-4b2b-b833-45fd17ee7358/issues/files/src/JMS/Serializer/EventDispatcher/Subscriber/SymfonyValidatorSubscriber.php?status=new&orderField=path&order=asc&honorSelectedPaths=0 Maybe we need to keep the allow_failures for now and wait for an image update. It's unfortunate, but working around bugs of outdated HHVM versions sounds not so good. |
Ok, then will keep this PR alive till travis do not update HHVM |
blocked by facebook/hhvm#7193 (but 0d6997b#diff-e8213d9df27c4ee083659ea8fadc9423R350 is a workaround) |
|
||
group: edge | ||
sudo: required | ||
dist: trusty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be done only for the HHVM build rather than for PHP builds too, as the docker-based infra is faster to boot. See how it is done in Symfony
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool! will do
Finally is green! (3.7 and later) |
Great, Thanks! |