-
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
Fix truncateString #20849
Fix truncateString #20849
Conversation
Hi @emilie-blackbird. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@@ -37,7 +37,7 @@ public function truncateString( | |||
string $value, | |||
int $length = 80, | |||
string $etc = '...', | |||
string &$remainder = '', | |||
?string &$remainder = '', |
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.
Not acceptable as PHP 7.0 is supported in 2.2.
Is this fixed in 2.3?
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.
In 2.3 it isn't in strict typing.
Hi @emilie-blackbird , looks like you made some commits with email different than in your GitHub profile, please, add email from commits to your profile! |
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.
Please squash changes into a single commit so that we have perfectly clean history 😉
remainder must be of the type string, null given
@emilie-blackbird thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
@orlangur PR updated, please review. |
Hi @orlangur, thank you for the review. |
@emilie-blackbird thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
✔️ QA passed |
Hi @emilie-blackbird, thank you for your contribution! |
@magento give me 2.4.5-p1 instance |
Hi @SPbryan007. Thank you for your request. I'm working on Magento instance for you. |
Hi @SPbryan007, here is your Magento Instance: https://6af5dfcaa375abb86bbdb1ca1bca77a9.instances.magento-community.engineering |
Description (*)
Fix truncateString method : "$_remainder must be of the type string, null given"
Fixed Issues (if relevant)
#16958 : Order View Issue - This tab contains invalid data
Manual testing scenarios (*)
Contribution checklist (*)