Fix bool scope config and update throws and update use clases#18065
Fix bool scope config and update throws and update use clases#18065magento-engcom-team merged 14 commits intomagento:2.3-developfrom
Conversation
|
Hi @hryvinskyi. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
Hi @hryvinskyi, |
|
@magento-engcom-team give me test instance |
|
Hi @hryvinskyi. Thank you for your request. I'm working on Magento instance for you |
|
Hi @hryvinskyi, here is your new Magento instance. |
slavvka
left a comment
There was a problem hiding this comment.
Please fix the comments and other similar places
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Get Items |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Default Scope Id |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Get Items |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Is Results Count Enabled |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Get Config |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Whether the header should be attached to the response |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Set current default store |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Allow or disallow single store mode |
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Is Auth Required |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
| //Using config value by default, can be overridden by using the | ||
| //setter. | ||
| $this->_useSessionInUrl = (bool)$this->scopeConfig->getValue( | ||
| $this->_useSessionInUrl = $this->scopeConfig->getValue( |
There was a problem hiding this comment.
The same. You removed type casting and left the method intact
|
@slavvka done |
slavvka
left a comment
There was a problem hiding this comment.
You probably missed some of my comments. Also there are the same changes that should be fixed. Please look through all your changes thoroughly and fix all them. Thank you!
| } | ||
|
|
||
| /** | ||
| * @inheritdoc |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * @inheritdoc | ||
| * Get Custom Attribute |
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Is Results Count Enabled |
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Check if store has only one store view |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Check if system is run in the single store mode |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Reinitialize store list |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Retrieve default store for default group and website |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Retrieve application store group object |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * {@inheritdoc} | ||
| * Prepare array of store groups |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
|
||
| /** | ||
| * @inheritdoc | ||
| * Get assigned to website store |
There was a problem hiding this comment.
Please revert the comment and just remove curly braces {}. Please refer to the guide https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html#inheritdoc
|
@slavvka done |
|
@hryvinskyi Thank you! Let's wait for the tests |
|
hey @hryvinskyi you still have failing tests. Also please merge the latest mainline code and resolve the conflict. |
|
Hi @slavvka, thank you for the review. |
|
Hi @hryvinskyi. Thank you for your contribution. |
|
@hryvinskyi thank you. Could you please consider porting this PR to 2.2? Yuo can use the automatic tool https://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#porting-tool |
Description
Fix bool scope config
Update throws
Update use class
Contribution checklist