StuntCoders CodeStandard for Magento

Customized CodeSniffer ruleset for Magento 1.x projects.

Installation

phpcs --config-set installed_paths .path/to/repo/stunt_mage_phpcs_standard/

Usage

phpcs --standard=Magento-SC /path/to/code

Or configure IDE to use Magento-SC coding standard.