From 1127d57df9f0c9697d198ace890295b74a2781be Mon Sep 17 00:00:00 2001 From: Volodymyr Shelmuk Date: Thu, 15 Aug 2024 10:22:16 +0300 Subject: [PATCH] docs: ShortEchoTag and TrailingSemicolon description --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b5ffcf..0349004 100644 --- a/README.md +++ b/README.md @@ -173,9 +173,11 @@ The recommended way to use the `InpsydeTemplates` ruleset is as follows: The following template-specific rules are available: -| Sniff Name | Description | Has Config | Auto-Fixable | -|:--------------------|:--------------------------------------------------|:----------:|:------------:| -| `TrailingSemicolon` | Remove trailing semicolon before closing PHP tag. | | ✓ | +| Sniff Name | Description | Has Config | Auto-Fixable | +|:------------------------------|:------------------------------------------------------------|:----------:|:------------:| +| `AlternativeControlStructure` | Encourage usage of alternative syntax with inline HTML. | | | +| `ShortEchoTag` | Replace echo with short echo tag in single-line statements. | | ✓ | +| `TrailingSemicolon` | Remove trailing semicolon before closing PHP tag. | | ✓ | # Removing or Disabling Rules