Skip to content

Instantly share code, notes, and snippets.

View osrecio's full-sized avatar

Oscar Recio osrecio

View GitHub Profile
@osrecio
osrecio / Magento_phpcs_Phpstorm.md
Created June 14, 2017 11:43
Add PHPCS PHPStorm for Magento

Install PHPCS and add Magento Standars

composer global require magento-ecg/coding-standard
composer global require magento/marketplace-eqp
export PATH=$HOME/bin:/usr/local/bin:$PATH:$HOME/.composer/vendor/bin
phpcs --config-set installed_paths $HOME/.composer/vendor/magento-ecg/coding-standard/,$HOME/.composer/vendor/magento/marketplace-eqp/

Configure PHPCS into PHP Storm