From 9d1a8b2457bcaee980e98ebe34744b59f867dbd8 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 20 Jul 2024 09:36:06 +0200 Subject: [PATCH] Fix readme (#276) --- README.md | 6 +++--- SECURITY.md | 5 +++-- docs/rules.md | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 75da0b4e..62d75399 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,11 @@ vendor/bin/twig-cs-fixer lint --fix /path/to/code ### As a PHAR -You can always fetch the latest stable version as a Phar archive through the -following version agnostic link: +You can always fetch the stable version as a Phar archive through the following +link with the `VERSION` you're looking for: ```bash -wget -c https://github.com/VincentLanglet/Twig-CS-Fixer/releases/download/3.0.0-rc-1/twig-cs-fixer.phar +wget -c https://github.com/VincentLanglet/Twig-CS-Fixer/releases/download/VERSION/twig-cs-fixer.phar ``` The PHAR files are signed with a public key which can be queried at diff --git a/SECURITY.md b/SECURITY.md index 801d26b7..c5dbbb1c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,8 +5,9 @@ Only the latest major version is supported with security updates. | Version | Supported | -| ------- | ------------------ | -| 2.x | :white_check_mark: | +|---------|--------------------| +| 3.x | :white_check_mark: | +| 2.x | :x: | | 1.x | :x: | ## Reporting a Vulnerability diff --git a/docs/rules.md b/docs/rules.md index babb1cfc..a432736c 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -107,13 +107,13 @@ To use these rules, you have to [allow non-fixable rules](configuration.md#non-f - **ForbiddenFilterRule** (Configurable): - Ensures some blocks are not used. Options are: - - `filter`: the name of the forbidden blocks. + Ensures some filters are not used. Options are: + - `filter`: the name of the forbidden filters. - **ForbiddenFunctionRule** (Configurable): - Ensures some blocks are not used. Options are: - - `function`: the name of the forbidden blocks. + Ensures some functions are not used. Options are: + - `function`: the name of the forbidden functions. ### Configurable rules