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

Require PHP 7 fails on HHVM #4976

Closed
ghost opened this issue Feb 29, 2016 · 3 comments
Closed

Require PHP 7 fails on HHVM #4976

ghost opened this issue Feb 29, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 29, 2016

Hello,

when I require PHP >=7.0 in my composer.json composer install fails on Travis CI with HHVM (3.11.0, so PHP 7 is supported). Everything's working fine with PHP 5.x.
This is the error message:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - This package requires php >=7.0 but your HHVM version does not satisfy that requirement.

Is there any way to require a PHP or HHVM version via Composer? Or do I have to give up on the require-statement / use --ignore-platform-reqs?

@curry684
Copy link
Contributor

HHVM is definitely not fully compatible with PHP7 yet, so I'm afraid there's not much we can do.

I don't have HHVM machines at my disposal, but what does it even report for PHP_VERSION, or in c show -p | grep php?

@Seldaek
Copy link
Member

Seldaek commented Feb 29, 2016

We can't really fix that.. Until they release something that ships a PHP_VERSION indicating they are php7 compatible then they will be treated as incompatible.

@Seldaek Seldaek closed this as completed Feb 29, 2016
@ghost
Copy link
Author

ghost commented Feb 29, 2016

Oh, well, I wasn't aware of those issues - thanks for linking them!

I guess I'll just move hhvm to the allow_failures list at Travis and use --ignore-platform-reqs until HHVM's PHP 7 compatible.

BenMorel added a commit to brick/app that referenced this issue Mar 13, 2016
HHVM is not reported as fully compatible with PHP 7 yet:
composer/composer#4976
unreal4u added a commit to unreal4u/telegram-api that referenced this issue Aug 30, 2016
rybakit pushed a commit to rybakit/twig-deferred-extension that referenced this issue Mar 17, 2017
koriym added a commit to bearsunday/BEAR.Skeleton that referenced this issue Mar 28, 2017
cpsitgmbh pushed a commit to CPS-IT/setup-helper that referenced this issue Apr 17, 2019
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

2 participants