Fix case mismatch call (class/method)#16141
Fix case mismatch call (class/method)#16141magento-engcom-team merged 1 commit intomagento:2.2-developfrom
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.