-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 migration #10341
Remove zend json from migration #10341
Conversation
- inject the new \Magento\Framework\Serialize\Serializer\Json class, - update _jsonDecode method parameter default from Zend_Json constant, - update _jsonDecode to call the new Serializer method version
@@ -694,10 +704,12 @@ public function getCompositeModules() | |||
* | |||
* @param string $encodedValue | |||
* @param int $objectDecodeType | |||
* @return mixed | |||
* @return array|bool|float|int|mixed|null|string |
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.
Again not happy that the return and the throws have changed been added but not really sure if this is ok/if there is a better option in this case.
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.
I assume same return type as SerializerInterface
suggests may be used
Since it's Json
implementation currently has inheritdoc.
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.
We will take care about this on our side.
Description
Remove the Zend_Json call from the Setup/Migration.php …
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist