-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[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
Conversation
"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.
and 10000 is for me 😄 |
1️⃣ 0️⃣ 0️⃣ 0️⃣ 0️⃣ ❗ |
👍 |
Congratulation @stof for pull request number 10000! |
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
👍 |
👍 |
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, |
… 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
@stof : hhvm is 64bits compliant now : facebook/hhvm@1bd7e47 |
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.