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

Remove support for HHVM #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Aug 27, 2024

HHVM dropped support for PHP at the end of 2018.

While testing and basic support for HHVM was enabled in Patchwork, it has basically been broken since then and the tests aren't being run against HHVM anyway.

So, let's formally drop support for it and remove all references to it.

This commit actions this in the following manner:

  • Mark dedicated functions/classes related to HHVM as (soft) deprecated.
  • Remove all conditionals in the codebase related to HHVM.

Follow-up actions:

  • I suggest opening an issue for 2.last to hard deprecate the functions/classes (i.e. trigger a deprecation notice).
  • I also suggest opening an issue for 3.0 to remove the deprecated functions/classes.

Ref: https://hhvm.com/blog/2017/09/18/the-future-of-hhvm.html

Fixes #139

@jrfnl jrfnl added this to the 2.2.0 milestone Aug 27, 2024
HHVM dropped support for PHP at the end of 2018.

While testing and basic support for HHVM was enabled in Patchwork, it has basically been broken since then and the tests aren't being run against HHVM anyway.

So, let's formally drop support for it and remove all references to it.

This commit actions this in the following manner:
* Mark dedicated functions/classes related to HHVM as (soft) deprecated.
* Remove all conditionals in the codebase related to HHVM.

Follow-up actions:
* I suggest opening an issue for `2.last` to hard deprecate the functions/classes (i.e. trigger a deprecation notice).
* I also suggest opening an issue for 3.0 to remove the deprecated functions/classes.

Ref: https://hhvm.com/blog/2017/09/18/the-future-of-hhvm.html

Fixes 139
@jrfnl jrfnl force-pushed the feature/139-drop-support-for-hhvm branch from 2bb74b4 to a9a4589 Compare August 27, 2024 18:31
@anomiex
Copy link
Collaborator

anomiex commented Aug 27, 2024

Looks reasonable for what it does, and I agree with dropping HHVM.

I'm less sure of the timeline though. The last version of HHVM that supported PHP was in 2018, which is the same age as PHP 7.2 which people out there are still using. I'd be more inclined to just deprecate here, and keep the conditionals too until 3.0. But that all depends on just how strictly we want to follow semver.

@jrfnl
Copy link
Collaborator Author

jrfnl commented Aug 27, 2024

@anomiex It is unlikely that HHVM support still works at this time, so 🤷

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

Successfully merging this pull request may close these issues.

Eliminate all HHVM-related logic
3 participants