Code Sniffer
code_snifferRun PHP_CodeSniffer on a given path using Drupal coding standards to detect coding standard violations. Configure the standard and severity for targeted checks.
Instructions
Run PHP_CodeSniffer with Drupal coding standards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| severity | No | ||
| standard | No | Drupal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||