Skip to content
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 #62

Closed
adrienbrault opened this issue Oct 20, 2013 · 3 comments
Closed

HHVM #62

adrienbrault opened this issue Oct 20, 2013 · 3 comments

Comments

@adrienbrault
Copy link
Contributor

Trying to run Hateoas tests with HHVM I get the following error:

vagrant@vagrant-ubuntu-saucy-64:/vagrant/Hateoas$ hhvm ../phpunit/composer/bin/phpunit
PHPUnit 3.7.28 by Sebastian Bergmann.

Configuration read from /vagrant/Hateoas/phpunit.xml.dist

..HipHop Fatal error: Call to undefined method Closure::bind from context Prophecy\Promise\CallbackPromise in /vagrant/Hateoas/vendor/phpspec/prophecy/src/Prophecy/Promise/CallbackPromise.php on line 65

Commenting https://github.com/phpspec/prophecy/blob/master/src/Prophecy/Promise/CallbackPromise.php#L65 fixes the issue for now.

You can use https://github.com/adrienbrault/hhvm-vagrant to run the tests with hhvm

@stof
Copy link
Member

stof commented Oct 21, 2013

looks like HHVM does not support Closure::bind. You should report it as a bug to their project

@stof
Copy link
Member

stof commented Oct 21, 2013

OK, I reported it

@everzet
Copy link
Member

everzet commented Nov 6, 2013

Closing this one as it's not Prophecy bug

@everzet everzet closed this as completed Nov 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants