-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.6] Towards 100% HHVM compat #15159
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
7294c2f
to
298e72d
Compare
d851b46
to
d5afac0
Compare
394af96
to
01e2762
Compare
01e2762
to
4bbd73c
Compare
} else { | ||
// PHP 5.4 and up wrap exceptions thrown by JsonSerializable | ||
// objects in a new exception that needs to be removed. | ||
// Hopefully, PHP 5.5 and up do not trigger any warning anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure that hopefully
is the right word here ? It looks weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, these warning where wrong and duplicated the feature provided by json_last_error_msg()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but Hopefully
looks weird. We don't hope that PHP 5.5 fixed it. We know it fixed it. Fortunately
looks better IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, fixed
4bbd73c
to
5b5b890
Compare
5b5b890
to
8a78255
Compare
Thank you @nicolas-grekas. |
This PR was merged into the 2.6 branch. Discussion ---------- [2.6] Towards 100% HHVM compat | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #9917, #11418 | License | MIT | Doc PR | - Failing components: - [x] HttpFoundation - [x] HttpKernel - [x] VarDumper Related HHVM issues: - facebook/hhvm#5563 Commits ------- 8a78255 [2.6] Towards 100% HHVM compat
Failing components:
Related HHVM issues: