-
Notifications
You must be signed in to change notification settings - Fork 93
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
Improved lastname anonymization #149
Conversation
kpodemski
commented
Nov 18, 2022
Questions | Answers |
---|---|
Description? | Anonymization now works for guests and customers |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/PrestaShop#30345. |
How to test? | Please indicate how to best verify that this PR is correct. |
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.
Code seems ok but I think we need to help developers to understand this new logic. Maybe add a comment or create a private method with a very explicit name?
Also PHPStan is not happy
-- ------------------------------------------------------------------
Error
-- ------------------------------------------------------------------
Ignored error pattern #Access to an undefined property
Cookie::\$id_customer.# was not matched in reported errors.
Ignored error pattern #Access to an undefined property
Cookie::\$id_guest.# was not matched in reported errors.
Ignored error pattern #Access to an undefined property
HelperList::\$list_id.# was not matched in reported errors.
Ignored error pattern #Access to an undefined property
HelperList::\$shopLinkType.# was not matched in reported errors.
-- ------------------------------------------------------------------
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.
as old code has 1 isset
check at line 67
2d54f47
to
a69d167
Compare
fixes remove not needed checks php 5.6 support fix wrong variable name
Hello @kpodemski Thanks for your PR. Can we have a second approve before starting testing following @micka-fdz 'feedback review? |
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.
Hello @kpodemski ,
I have checked your PR, the issue is well fixed!
Untitled_.Dec.9.2022.3_33.PM.webm
So it's QA approved ✔️
Many thanks !
Thank you @kpodemski!!!! |