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

Supporting PHP Closure serialization #15

Merged
merged 4 commits into from
Feb 29, 2016
Merged

Supporting PHP Closure serialization #15

merged 4 commits into from
Feb 29, 2016

Conversation

jrbasso
Copy link
Member

@jrbasso jrbasso commented Feb 29, 2016

It uses the project SuperClosure to serialize PHP closures.

It uses the project SuperClosure to serialize PHP closures.
It will avoid the tests to be skipped.
$this->preserveZeroFractionSupport = defined('JSON_PRESERVE_ZERO_FRACTION');

if ($closureSerializer !== null) {
Copy link
Member

Choose a reason for hiding this comment

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

@jrbasso I guess this isn't strictly necessary since you are checking $this->closureSerializer === null below.

Copy link
Member Author

Choose a reason for hiding this comment

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

@cjsaylor Makes sense. Removed that.

The check needs to be re-done on the places it is used.
@cjsaylor
Copy link
Member

👍 LGTM, just waiting on tests.

cjsaylor added a commit that referenced this pull request Feb 29, 2016
Supporting PHP Closure serialization
@cjsaylor cjsaylor merged commit 0a00a93 into master Feb 29, 2016
@cjsaylor cjsaylor deleted the serialize-closure branch February 29, 2016 03:50
@jrbasso jrbasso added this to the 2.0 milestone Feb 29, 2016
@jrbasso jrbasso self-assigned this Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants