Skip to content

mgeoffray/phpcs-magento-rules

This branch is up to date with AOEpeople/phpcs-magento-rules:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Fabrizio Branca
Apr 15, 2014
5cb94a4 · Apr 15, 2014

History

14 Commits
Apr 12, 2013
Apr 1, 2014
Apr 15, 2014

Repository files navigation

phpcs-magento-rules

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:

cd $(dirname `which phpcs`)/../lib/php/PHP/CodeSniffer/Standards

If that does not work, you could find the location by calling:

cd $(dirname `which phpcs`)/../share/php/PHP/CodeSniffer/Standards

About

PHPCS rules for working with Magento

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published