Skip to main content
added 13 characters in body; edited tags
Source Link

Unable to install magento-ecg/coding-standardmagento-ecg/coding-standard to PHP_CodeSnifferPHP_CodeSniffer: Tried below command after cloning PHP_CodeSniffer from github:

phpcs --config-set installed_paths ./vendor/magento-ecg/coding-standardphpcs --config-set installed_paths ./vendor/magento-ecg/coding-standard

But phpcs -i is showing only follwoingfollowing standards.

The installed coding standards are PSR1, MySource, Zend, Squiz, PHPCS, PEAR and PSR2

The installed coding standards are PSR1, MySource, Zend, Squiz, PHPCS, PEAR and PSR2

Unable to install magento-ecg/coding-standard to PHP_CodeSniffer: Tried below command after cloning PHP_CodeSniffer from github:

phpcs --config-set installed_paths ./vendor/magento-ecg/coding-standard

But phpcs -i is showing only follwoing standards.

The installed coding standards are PSR1, MySource, Zend, Squiz, PHPCS, PEAR and PSR2

Unable to install magento-ecg/coding-standard to PHP_CodeSniffer: Tried below command after cloning PHP_CodeSniffer from github:

phpcs --config-set installed_paths ./vendor/magento-ecg/coding-standard

But phpcs -i is showing only following standards.

The installed coding standards are PSR1, MySource, Zend, Squiz, PHPCS, PEAR and PSR2

Source Link
mohini
  • 41
  • 2
  • 9

Unable to add magento-ecg/coding-standard to PHP_CodeSniffer:

Unable to install magento-ecg/coding-standard to PHP_CodeSniffer: Tried below command after cloning PHP_CodeSniffer from github:

phpcs --config-set installed_paths ./vendor/magento-ecg/coding-standard

But phpcs -i is showing only follwoing standards.

The installed coding standards are PSR1, MySource, Zend, Squiz, PHPCS, PEAR and PSR2