From 679010d4cda21c954fceb96b91297a6d8ece4c4a Mon Sep 17 00:00:00 2001 From: Volodymyr Shelmuk Date: Thu, 7 Mar 2024 09:29:21 +0200 Subject: [PATCH] fix: InpsydeTemplates usage --- InpsydeTemplates/ruleset.xml | 4 +--- README.md | 10 ++-------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/InpsydeTemplates/ruleset.xml b/InpsydeTemplates/ruleset.xml index 098918e..56286fb 100644 --- a/InpsydeTemplates/ruleset.xml +++ b/InpsydeTemplates/ruleset.xml @@ -3,8 +3,6 @@ Coding standards for PHP templates. - - - + diff --git a/README.md b/README.md index 9938325..a75af07 100644 --- a/README.md +++ b/README.md @@ -184,8 +184,7 @@ For **notes and configuration** see [`/inpsyde-custom-sniffs.md`](/inpsyde-custo ## Template Rules -The `InpsydeTemplates` ruleset extends the standard `Inpsyde` ruleset with some template-specific -sniffs while disabling some rules that are not useful in templating context. +The `InpsydeTemplates` ruleset extends the standard `Inpsyde` ruleset with some template-specific sniffs. The recommended way to use the `InpsydeTemplates` ruleset is as follows: @@ -196,10 +195,7 @@ The recommended way to use the `InpsydeTemplates` ruleset is as follows: ./templates ./views - - */templates/* - */views/* - + */templates/* @@ -207,8 +203,6 @@ The recommended way to use the `InpsydeTemplates` ruleset is as follows: ``` -The following `Inpsyde` rules are disabled: -* `NoElse` The following templates-specific rules are available: