https://github.com/zifius/magizendo
ECG + Zend/PSR2 phpcs coding standard
https://github.com/zifius/magizendo
code-style magento magento2 php-codesniffer psr-2
Last synced: 9 days ago
JSON representation
ECG + Zend/PSR2 phpcs coding standard
- Host: GitHub
- URL: https://github.com/zifius/magizendo
- Owner: Zifius
- Created: 2015-05-09T09:05:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T19:58:25.000Z (over 8 years ago)
- Last Synced: 2025-09-21T01:30:06.614Z (27 days ago)
- Topics: code-style, magento, magento2, php-codesniffer, psr-2
- Homepage:
- Size: 24.4 KB
- Stars: 8
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://confluence.jetbrains.com/display/PhpStorm/PHP+Code+Sniffer+in+PhpStorm#PHPCodeSnifferinPhpStorm-4.2.UsingcustomcodestyleswithPhpStorm) for details
Alternatively [set standards path globally](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options#setting-the-installed-standard-paths)