-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix case mismatch call (class/method) #16141
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 case mismatch call (class/method) #16141
Conversation
|
Hi @lfluvisotto. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
@lfluvisotto bot is already doing this actually ;) PLEASE provide exact steps :) |
|
Hi @orlangur I didn't get that "provide exact steps". What am I supposed to do? |
|
@lfluvisotto exact steps which you used to obtain this places to fix. |
|
I sad that in other PR's comment I think you have noticed that. I use ide phpstorm + code sniffer + mess detector + tools in https://phpqa.io/ + regular expressions I iterate in every/each php file (in app and lib folders) those tools. And this ruleset dev/tests/static/framework/Magento/ruleset.xml |
|
@lfluvisotto I need specific steps for this specific PR which I can actually reproduce. Just throw a list of used tools is not enough :) Then I can see which of the tools could be integrated into CICD loop to enforce such issues won't appear again. |
|
Also I use this plugin in phpstorm. https://github.com/kalessil/phpinspectionsea Customize the travis.yml to be executed/used in the CICD |
|
@lfluvisotto which of the tools specifically was used to spot all the
inspection violations? |
|
https://github.com/kalessil/phpinspectionsea/blob/master/RULES.md Inspections Lists (Code style) > CallableReferenceNameMismatchInspection > Callable name case mismatched in a call |
|
I will have a look tonight how to call phpinspectionsea in Travis CI |
|
Hi @sidolov, thank you for the review. |
|
Hi @lfluvisotto. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
Description
Fix case mismatch call (class/method), code quality.