Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nicolas-grekas
Copy link
Member

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

Failing components:

  • Debug
  • DependencyInjection
  • Filesystem
  • Form
  • HttpFoundation
  • Process
  • Routing

Related HHVM issues:

if (false === setlocale(LC_ALL, $required_locales)) {
$this->markTestSkipped('Could not set any of required locales: '.implode(', ', $required_locales));
try {
$required_locales = array('fr_FR.UTF-8', 'fr_FR.UTF8', 'fr_FR.utf-8', 'fr_FR.utf8', 'French_France.1252');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also be changed to camelCase

@stof
Copy link
Member

stof commented Jun 30, 2015

Regarding the phar error in the DI tests, I suggest to check whether the phar is a compressed one. HHVM does not support compressed phars: facebook/hhvm#4263

@stof
Copy link
Member

stof commented Jun 30, 2015

And the HttpKernel tests are passing, but they are polluting the output

@nicolas-grekas nicolas-grekas force-pushed the hhvm-fixes branch 3 times, most recently from 03f4403 to 4a5bd64 Compare June 30, 2015 08:33
@nicolas-grekas
Copy link
Member Author

Phar fixed, DI component is OK now

@stof
Copy link
Member

stof commented Jun 30, 2015

@nicolas-grekas I suggest adding a checklist in the PR description with all components which are failing in the 2.3 branch currently, and then checking them when fixed. This would make it easier to follow the PR progress

@nicolas-grekas nicolas-grekas force-pushed the hhvm-fixes branch 9 times, most recently from 7858fa7 to a2d7b8f Compare June 30, 2015 12:46
@nicolas-grekas nicolas-grekas changed the title [WIP] Towards 100% HHVM compat Towards 100% HHVM compat Jun 30, 2015
@nicolas-grekas
Copy link
Member Author

capture du 2015-06-30 16 27 17

@fabpot
Copy link
Member

fabpot commented Jun 30, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit b9a76ba into symfony:2.3 Jun 30, 2015
fabpot added a commit that referenced this pull request Jun 30, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Towards 100% HHVM compat

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

Failing components:
- [x] Debug
- [x] DependencyInjection
- [x] Filesystem
- [x] Form
- [x] HttpFoundation
- [x] Process
- [x] Routing

Related HHVM issues:
- facebook/hhvm#5562
- facebook/hhvm#5561
- facebook/hhvm#5330
- facebook/hhvm#3558
- facebook/hhvm#4901

Commits
-------

b9a76ba Towards 100% HHVM compat
@@ -229,7 +229,7 @@ public function chgrp($files, $group, $recursive = false)
$this->chgrp(new \FilesystemIterator($file), $group, true);
}
if (is_link($file) && function_exists('lchgrp')) {
if (true !== @lchgrp($file, $group)) {
if (true !== @lchgrp($file, $group) || (defined('HHVM_VERSION') && !posix_getgrnam($group))) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are posix functions always available on HHVM ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@nicolas-grekas nicolas-grekas deleted the hhvm-fixes branch June 30, 2015 16:53
@soullivaneuh
Copy link
Contributor

Great job!

I think hhvm Travis test ca be removed from allowed_failure section now, isn't it?

@dosten
Copy link
Contributor

dosten commented Jul 3, 2015

@soullivaneuh see #15164

@soullivaneuh
Copy link
Contributor

Indeed, thanks! 👍

Sullivan SENECHAL
Le 3 juil. 2015 18:56, "Diego Saint Esteben" [email protected] a
écrit :

@soullivaneuh https://github.com/Soullivaneuh see #15164
#15164


Reply to this email directly or view it on GitHub
#15146 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants