diff --git a/README.md b/README.md index 7cc6a65..e914e55 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,24 @@ For **notes and configuration** see [`/inpsyde-custom-sniffs.md`](/inpsyde-custo ------------- +## Templates Rules + +InpsydeTemplates ruleset contains custom rules targeted to the PHP templates and views. +To enable the ruleset only for templates the following configuration could be used: + +```xml + + */templates/* + */views/* + +``` + +The following templates-specific rules are available: + +| Sniff name | Description | Has Config | Auto-Fixable | +|:--------------------|:------------------------------------------------|:----------:|:------------:| +| `TrailingSemicolon` | Remove trailing semicolon before close PHP tag. | | ✓ | + # Removing or Disabling Rules ## Rules Tree