# WooCommerce Sniffs Collection of PHP_CodeSniffer sniffs for WooCommerce. ## Installation ```php composer require woocommerce/woocommerce-sniffs ``` ## Usage ### Command line ```bash ./vendor/bin/phpcs --standard=WooCommerce-Core ``` ### Config file PHPCS config file: ```xml My projects ruleset. tests/ ``` ## Changelog [See changelog for details](https://github.com/woocommerce/woocommerce-sniffs/blob/master/CHANGELOG.md)