I am currently working on Magento 2 coding standard checking project.
Is any other tool available, other than PHP_CodeSniffer, to check Magento 2 and PHP coding standing?
coding-standardsmagento-2.1magento2
I am currently working on Magento 2 coding standard checking project.
Is any other tool available, other than PHP_CodeSniffer, to check Magento 2 and PHP coding standing?
Best Answer
Magento 2 use ECGM2 coding standard
You can download from here
ECG Magento Code Sniffer Coding Standard is a set of rules and sniffs for PHP_CodeSniffer tool.
It allows automatically check your code against some of the common Magento and PHP coding issues, like:
and many others.
Both Magento and Magento 2 are supported.