-
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
Remove unused ProductCriterion.php file #143
Conversation
leemyongpakvn
commented
Jun 21, 2022
•
edited by kpodemski
Loading
edited by kpodemski
Questions | Answers |
---|---|
Description? | ProductCriterion.php is not used anywhere. The correct and working version of it is ProductCommentCriterion.php |
Type? | improvement |
BC breaks? | no |
Deprecations? | yes |
Fixed ticket? | Fixes PrestaShop/PrestaShop#28855 |
How to test? | Find 'ProductCriterion.php' phrase in the whole PrestaShop folder, it only appears in tests/phpstan/phpstan.neon |
ProductCriterion.php is not used anywhere.
deprecated CHARSET utf8 need to be replaced by utf8mb4
mysql.com declared that utf8 was deprecated at https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8mb3.html |
Hello @leemyongpakvn Thank you for your PR. Could you remove changes related to the PS: I created an Issue for you regarding a not used file. Next time remember to do that as we have to validate the problems that you are trying to change beforehand, or have a written version of a report that something was to be improved, etc. |
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.
This is not related to the missing file. Let's keep it separate.
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
Co-authored-by: Krystian Podemski <kpodemski@users.noreply.github.com>
@kpodemski OK. The PR is back to its original (5 days ago) title and 2 commits. I thought someone feel the PR is too small and not worth to review, so I tried to add 1 more commit and change PR title appropriately 2 days ago. |
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.
Small feedback
Co-authored-by: Thomas Roux <contact@okom3pom.com>
Co-authored-by: Thomas Roux <contact@okom3pom.com>
Yes 😄 I know it looks useless to you, but it will be a great help for us. This issue will be used to register, track, label the problem, make sure it does not come back and also be an information carrier about the problem through ages. Someone in 3 or 4 years will maybe be very happy to be able to find it and find what he was looking for. This is extra information very useful for users. |
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 @leemyongpakvn ,
Thanks for the PR!
File is gone. Tested main features of the module on 1.7.8x, 8.0.x, develop. Works as expected 👍
It QA ✅ !
Thanks @leemyongpakvn and @florine2623 |