I am creating a Magento 2.3 website from scratch. I am having phpcs.xml file on Magento root which contains the rules for PHPCS. These rules get triggered when the build is executed. I am confused about which rules should I use for this XML file ? Thanks in advance!
Magento 2 – PHPCS Coding Standards Guide
coding-standardsmagento2magento2.3phpcs
Best Answer
Funnily enough this is something I came across today and wanted to experiment.
Took me a few mins to get my head around the setup. This should get you started:
Inside web root
or dump to file