Skip to content

Commit 1127d57

Browse files
committed
docs: ShortEchoTag and TrailingSemicolon description
1 parent 8ebb223 commit 1127d57

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,11 @@ The recommended way to use the `InpsydeTemplates` ruleset is as follows:
173173

174174
The following template-specific rules are available:
175175

176-
| Sniff Name | Description | Has Config | Auto-Fixable |
177-
|:--------------------|:--------------------------------------------------|:----------:|:------------:|
178-
| `TrailingSemicolon` | Remove trailing semicolon before closing PHP tag. | ||
176+
| Sniff Name | Description | Has Config | Auto-Fixable |
177+
|:------------------------------|:------------------------------------------------------------|:----------:|:------------:|
178+
| `AlternativeControlStructure` | Encourage usage of alternative syntax with inline HTML. | | |
179+
| `ShortEchoTag` | Replace echo with short echo tag in single-line statements. | ||
180+
| `TrailingSemicolon` | Remove trailing semicolon before closing PHP tag. | ||
179181

180182
# Removing or Disabling Rules
181183

0 commit comments

Comments
 (0)