magento-ecg / coding-standard

Magento PHP_CodeSniffer Coding Standard
MIT License
308 stars 99 forks source link

[FEATURE] Enable auto install via composer #27

Closed borishinzer closed 8 years ago

borishinzer commented 8 years ago
DanielSiepmann commented 8 years ago

By providing the requirement to Code Sniffer it get installed and you can use the standard out of the box without installing Code Sniffer seperatly.

In addition the type provided installation as Standard out of the box, so no further configuration. Just use --standard=Ecg.

DanielSiepmann commented 8 years ago

Can you at least provide feedback why you won't merge this change @zlik ?

zlik commented 8 years ago

Sure, sorry about that. You can install PHPCS globally only once (composer global require "squizlabs/php_codesniffer=*") and then use it with multiple standards without installing PHPCS for each one.