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

Remove zend json from email #8707

Closed

Conversation

dmanners
Copy link
Contributor

@dmanners dmanners commented Feb 28, 2017

Since Zend Framework1 is EOF then we should start to move away from it.

This PR removes the usage of Zend_Json in the Email module.

Copy link
Contributor

@orlangur orlangur left a comment

Choose a reason for hiding this comment

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

Typo "serilizer", besides that LGTM 👍

@maghamed maghamed self-requested a review February 28, 2017 10:05
@maghamed maghamed self-assigned this Feb 28, 2017
@okorshenko okorshenko added this to the March 2017 milestone Mar 1, 2017
/**
* @var \Magento\Framework\Serialize\Serializer\Json|\PHPUnit_Framework_MockObject_MockObject
*/
private $serilizerMock;
Copy link
Contributor

Choose a reason for hiding this comment

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

@dmanners could you please fix this type

@vrann
Copy link
Contributor

vrann commented Mar 9, 2017

@dmanners Thank you for the contribution!

@okorshenko okorshenko closed this Mar 10, 2017
@Ctucker9233
Copy link

@okorshenko Why Closed and not Merged?

@orlangur
Copy link
Contributor

@Ctucker9233 nice catch, there is typo in mainline currently due to not merged last commit of this PR: https://github.com/magento/magento2/blob/develop/app/code/Magento/Email/Test/Unit/Model/TemplateTest.php#L90

For PRs which did not become Merged automatically would be nice to have an automated check that all changes came to mainline (so that PR can be safely closed when we have all changes but some commit hashes are different).

@Ctucker9233
Copy link

@orlangur Agreed. I just thought I'd ask because all previous comments and updates made it look like it was good to go and then it's suddenly closed with no explanation.

@okorshenko
Copy link
Contributor

@Ctucker9233 this PR is shown closed on GitHub but not merged, because the contributor did rebase of the branch and commit hashes changed. If we missed some commits from this PR, please, create additional PR to resolve the issue. Thank you

@orlangur
Copy link
Contributor

@okorshenko in fact, not :) This was the case in another PR but not here.

In https://github.com/magento/magento2/commits/develop/app/code/Magento/Email/Test/Unit/Model/TemplateTest.php we can see ce261ee has the same hash as in this PR.

For PRs which did not become Merged automatically would be nice to have an automated check that all changes came to mainline (so that PR can be safely closed when we have all changes but some commit hashes are different).

This could sound as an overkill, simpler check could be - check if first commit from PR has the same hash in mainline. If not - rebase occured, if yes - need to check if all commits were added to mainline.

Additional PR created.

@dmanners dmanners deleted the remove-zend-json-from-email branch April 13, 2017 17:00
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.

6 participants