Skip to content

Commit 88a0b0b

Browse files
committed
About-Standards-for-PHP_CodeSniffer: fix typo
1 parent b576a06 commit 88a0b0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wiki/About-Standards-for-PHP_CodeSniffer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ The typical differences between project-specific rulesets and standards are:
2626
| Will automatically be used when no standard is provided on the command line ? | Yes | No |
2727
| Can have custom sniffs ? | No | Yes |
2828
| Can be installed ? | No | Yes |
29-
| Reusability by other projects ? | Limited | Yes |
29+
| Re-usability by other projects ? | Limited | Yes |
3030

31-
For optimal reusability, it is in most cases a good idea for a standard to be in its own repository and to be maintained as a separate project.
31+
For optimal re-usability, it is in most cases a good idea for a standard to be in its own repository and to be maintained as a separate project.
3232

3333
A `[.]phpcs.xml[.dist]` file and a `ruleset.xml` file can largely contain the same type of directives.
3434
The [Annotated ruleset](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset) page contains information on all the directives you can use.
3535

36-
Keep in mind that for a _standard_ to be optimally reusable, it should not contain project specific information, such as `<file>` directives or `<exclude-patterns>`, while a project specific `[.]phpcs.xml[.dist]` ruleset file _can_ contain that information.
36+
Keep in mind that for a _standard_ to be optimally re-usable, it should not contain project specific information, such as `<file>` directives or `<exclude-patterns>`, while a project specific `[.]phpcs.xml[.dist]` ruleset file _can_ contain that information.
3737

3838
You may also find the [Customisable Sniff Properties](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties) page a handy reference for customisations which can be made to PHP_CodeSniffer native sniffs.
3939

0 commit comments

Comments
 (0)