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: diff --git a/composer.json b/composer.json index fe89f1a..0c9dd94 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,8 @@ "psr-4": { "Inpsyde\\CodingStandard\\Tests\\": [ "tests/src/", - "tests/cases/" + "tests/unit/cases", + "tests/e2e/cases" ] } }, diff --git a/phpcs.xml b/phpcs.xml index deef883..bd37844 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -6,7 +6,8 @@ ./Inpsyde/Helpers ./Inpsyde/Sniffs ./tests/src - ./tests/cases + ./tests/unit/cases + ./tests/e2e/cases