Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Dec 18, 2018 7:28 AM
Views: 43
Tags: code php sniffer
  1. /usr/local/var/www/marketplace-eqp/vendor/bin/phpcs app/code/../../  --standard=MEQP2 --extensions=php,phtml
  2.  
  3.  use “phpcbf” tool to fix the errors automatically -
  4. /usr/local/var/www/marketplace-eqp/vendor/bin/phpcbf /path/to/your/module --standard=MEQP2