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

Fixed incompatibility with HHVM in PHP7 mode. #2390

Closed
wants to merge 1 commit into from
Closed

Fixed incompatibility with HHVM in PHP7 mode. #2390

wants to merge 1 commit into from

Conversation

ezzatron
Copy link

@ezzatron ezzatron commented Dec 8, 2016

See also facebook/hhvm#7537.

HHVM has a "PHP7 mode" that can be enabled with an INI setting. Currently PHPUnit skipped tests (and probably other features) do not work in this mode because of an HHVM incompatibility involving instanceof used with a variable containing 'Throwable' as the type.

I realize that you could simply wait until HHVM addresses this issue, but hopefully you will consider accepting this PR in any case, as it will allow PHPUnit to function correctly on older versions of HHVM that are unlikely to be patched.

@sebastianbergmann
Copy link
Owner

Should be taken care of as part of 0d1447b.

@ezzatron
Copy link
Author

ezzatron commented Dec 8, 2016

Awesome, thanks!

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.

2 participants