Skip to content

Commit

Permalink
Fix readme (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Jul 20, 2024
1 parent 3f51db4 commit 9d1a8b2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d1a8b2

Please sign in to comment.