hoaproject / Central

Hoa is a modular, extensible, and structured set of PHP libraries.
https://hoa-project.net/
Other
104 stars 8 forks source link

Drop HHVM support #69

Closed Hywan closed 7 years ago

Hywan commented 7 years ago

After a long discussion about https://github.com/hoaproject/Central/issues/36:

  1. atoum has dropped support for HHVM,
  2. No one has asked for HHVM support,
  3. HHVM does not support PHP 7.

Progression

Grummfy commented 7 years ago

So we remove it totally from travis build?

vonglasow commented 7 years ago

@Grummfy Yes, it was decided during the last virtual meeting.

Grummfy commented 7 years ago

it was just be sure

fredemmott commented 7 years ago
  1. What are you missing now? I'm not going to claim that it's enough for you to reconsider, but 3.20.2 has substantially improved support, including composer and phpunit in php7 mode. Travis doesn't have recent versions though.
Hywan commented 7 years ago

@fredemmott That's a good question. Most of the tools we are using to ensure the quality inside Hoa does not support HHVM, especially atoum (or PHP CS Fixer for “minor” tools —minor for us, the tool is not minor). There are PR on atoum to add more support for HHVM (https://github.com/atoum/atoum/issues/624, https://github.com/atoum/atoum/pull/625) but this is not the end of the journey. Most projects are dropping their support for HHVM, like Symfony and Doctrine. Doctrine is going to use Hoa, and some Symfony bundles are using Hoa too. We were going to support HHVM because of these projects, but since they have dropped HHVM, we no longer have any commitments. This is the same story with Laravel and PsySH —which uses Hoa— etc.

tl;dr: Hoa is used by a lot of projects, that find their ways into major frameworks, like Symfony, Laravel, Zend, Doctrine etc. All these projects have dropped HHVM support, so this is no longer a requirement for us.

Hywan commented 7 years ago

@fredemmott To be clear, this is not a move against HHVM. I am the lead dev of Tagua VM, an experimental PHP virtual machine. I know the amount of work it represents, and I can easily understand how it hurts when someone drops the support for your project. This is not against HHVM. This is us, with our limited resources, trying to provide the best we can to a large and attentive audience.

fredemmott commented 7 years ago

Yep, I'm just trying to get an idea of what PHP7 incompatibilities are most important, given the recent improvements and "HHVM does not support PHP 7."

bobthecow commented 7 years ago

This is the same story with Laravel and PsySH —which uses Hoa— etc.

PsySH does support HHVM, for what it's worth. It's an "allowed failure" in our CI right now, because testing it on Travis has been a bit flakier than all the other PHP versions, but it's definitely supported:

https://travis-ci.org/bobthecow/psysh/jobs/252780783

Hywan commented 7 years ago

@bobthecow My mistake! Thank you for the notice!

Grummfy commented 7 years ago

for information the only not migrated library are the one that have no travis inside so :

Hywan commented 7 years ago

Great, thanks for your work everyone!