Skip to content

[Console] Fixed the compatibility with HHVM #10000

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

Closed
wants to merge 3 commits into from
Closed

Conversation

stof
Copy link
Member

@stof stof commented Jan 11, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR -

The only failures in the Console testsuite were due to facebook/hhvm#1327, and a workaround for this issue is easy.

This PR currently includes #9999 in it, to have a working HHVM build on Travis.

stof added 3 commits January 11, 2014 04:13
"php -r" does not seem to behave properly in HHVM, so the check to detect
HHVM has been switch to a check on the environment variable set by Travis.
The only failures in the Console testsuite were due to
facebook/hhvm#1327, and a workaround for this
issue is easy.
@stof
Copy link
Member Author

stof commented Jan 11, 2014

and 10000 is for me 😄

@pborreli
Copy link
Contributor

1️⃣ 0️⃣ 0️⃣ 0️⃣ 0️⃣ ❗

@tedivm
Copy link

tedivm commented Jan 11, 2014

👍

@fabpot
Copy link
Member

fabpot commented Jan 11, 2014

Congratulation @stof for pull request number 10000!

fabpot added a commit that referenced this pull request Jan 11, 2014
This PR was squashed before being merged into the 2.3 branch (closes #10000).

Discussion
----------

[Console] Fixed the compatibility with HHVM

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | -

The only failures in the Console testsuite were due to facebook/hhvm#1327, and a workaround for this issue is easy.

This PR currently includes #9999 in it, to have a working HHVM build on Travis.

Commits
-------

ac1ba81 [Console] Fixed the compatibility with HHVM
@fabpot fabpot closed this Jan 11, 2014
@eko
Copy link
Contributor

eko commented Jan 11, 2014

👍

@stof stof deleted the console_hhvm branch January 11, 2014 10:18
@marcj
Copy link

marcj commented Jan 11, 2014

👍

@cordoval
Copy link
Contributor

all of this is nothing but the outcome of a small start fixing a typo https://github.com/symfony/symfony/commits/master?author=stof&page=7 three years ago by someone that likes to read locs.

As they used to say back in the time within the mailing list and the IRC channel, give the man a medal ehem badge
Bravo @stof 👶

fabpot added a commit that referenced this pull request Apr 27, 2014
… terminal width (stof)

This PR was merged into the 2.3 branch.

Discussion
----------

[Console] Fixed the rendering of exceptions on HHVM with a terminal width

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | -

If ``getTerminalWidth`` returns a big integer (which is the case in Behat 2.5 which overwrites the method to return ``PHP_INT_MAX`` to avoid limiting the width), the fix done in #10000 for HHVM would be needed as well. So this moves it after the condition rather than having it only for the default.

Commits
-------

6e57380 [Console] Fixed the rendering of exceptions on HHVM with a terminal width
@nicodmf
Copy link
Contributor

nicodmf commented Jul 5, 2015

@stof : hhvm is 64bits compliant now : facebook/hhvm@1bd7e47

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.

8 participants