https://github.com/woocommerce/woocommerce-sniffs
Collection of PHP_CodeSniffer sniffs for WooCommerce
https://github.com/woocommerce/woocommerce-sniffs
Last synced: 9 months ago
JSON representation
Collection of PHP_CodeSniffer sniffs for WooCommerce
- Host: GitHub
- URL: https://github.com/woocommerce/woocommerce-sniffs
- Owner: woocommerce
- License: mit
- Created: 2017-12-21T22:24:04.000Z (about 8 years ago)
- Default Branch: trunk
- Last Pushed: 2023-09-29T13:53:33.000Z (over 2 years ago)
- Last Synced: 2025-03-31T16:17:31.161Z (10 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/woocommerce/woocommerce-sniffs
- Size: 78.1 KB
- Stars: 48
- Watchers: 10
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)