PHPCodeSniffer standards for Magento Magento 1 standard combines Ecg and Zend standards into one Magento 2 standard combines EcgM2 and PSR2 standards Usage Run composer require zifius/magizendo For PhpStorm IDE: setup a "Custom" coding standard pointing to the folder where the ruleset.xml resides, check PhpStorm Documentation for details Alternatively set standards path globally