Name: phpcs-magento-rules
Owner: AOE
Description: PHPCS rules for working with Magento
Created: 2014-04-01 22:25:16.0
Updated: 2016-04-05 22:13:12.0
Pushed: 2014-04-15 19:08:49.0
Homepage: null
Size: 129
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
PHPCS rules for working with Magento
These code sniffer rules were created from the standards listed at the location below:
Magento 2 PHP Coding Standards
The ruleset.xml
file should be placed in a “Mage” folder under your PHPCS Standards folder. I was able to find the location of the coding standards by running the following command:
(dirname `which phpcs`)/../lib/php/PHP/CodeSniffer/Standards
If that does not work, you could find the location by calling:
(dirname `which phpcs`)/../share/php/PHP/CodeSniffer/Standards