File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,24 @@ For **notes and configuration** see [`/inpsyde-custom-sniffs.md`](/inpsyde-custo
182
182
183
183
-------------
184
184
185
+ ## Templates Rules
186
+
187
+ InpsydeTemplates ruleset contains custom rules targeted to the PHP templates and views.
188
+ To enable the ruleset only for templates the following configuration could be used:
189
+
190
+ ``` xml
191
+ <rule ref =" InpsydeTemplates" >
192
+ <include-pattern >*/templates/*</include-pattern >
193
+ <include-pattern >*/views/*</include-pattern >
194
+ </rule >
195
+ ```
196
+
197
+ The following templates-specific rules are available:
198
+
199
+ | Sniff name | Description | Has Config | Auto-Fixable |
200
+ | :--------------------| :------------------------------------------------| :----------:| :------------:|
201
+ | ` TrailingSemicolon ` | Remove trailing semicolon before close PHP tag. | | ✓ |
202
+
185
203
# Removing or Disabling Rules
186
204
187
205
## Rules Tree
You can’t perform that action at this time.
0 commit comments