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

Fix tests for HHVM compat and pin HHVM version #1047

Merged
merged 1 commit into from
May 8, 2018
Merged

Fix tests for HHVM compat and pin HHVM version #1047

merged 1 commit into from
May 8, 2018

Conversation

jdpedrie
Copy link
Contributor

@jdpedrie jdpedrie commented May 7, 2018

We started seeing HHVM failures on Travis this morning, seemingly related to a new version (v3.26) of HHVM released today. This change addresses all but one of those errors, most of which were related to incorrect casing in classnames in unit tests.

The more complicated side is an error from the snippet parser, raising a fatal error and stopping the build.

Fatal error: Uncaught Error: Cannot use 'Cast\Double' as class name as it is reserved in /google-cloud-php/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php:332

The installed version of nikic/php-parser is v1.4.1, but a brief look at the project seems to indicate that this issue will also exist in the latest iteration.

The temporary solution included in this PR is to pin the HHVM version to the last known working version. I'll open a tracking issue to follow this PR where I'll work on figuring out a way to remove the pin and get our builds working on the latest version of HHVM.

@jdpedrie jdpedrie requested a review from dwsupplee as a code owner May 7, 2018 21:00
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 7, 2018
@jdpedrie jdpedrie merged commit 5ccf3f4 into googleapis:master May 8, 2018
@jdpedrie jdpedrie deleted the hhvm-fix branch May 8, 2018 14:07
@jdpedrie jdpedrie mentioned this pull request May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants