Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ words:
# Used in Wiki Reporting page, "emacs" file.
- defun

# Used in Wiki Requirements page.
- multibyte

# Used in CONTRIBUTING.
- maxlevel
- replacer
Expand Down
3 changes: 3 additions & 0 deletions wiki/Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ Additionally, PHP_CodeSniffer requires the following PHP extensions to be enable
- SimpleXML: used to process ruleset XML files
- XMLWriter: used to create some report formats

The following PHP extension is not required, but is strongly recommended:
- iconv: used for accurate character length calculation in files containing multibyte characters. Without this extension, some sniffs, like `Generic.Files.LineLength`, may report incorrect results for lines containing non-ASCII characters, as PHP_CodeSniffer will fall back to byte-based length calculations.

Individual sniffs may have additional requirements such as external applications and scripts. See the [Configuration Options](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options) manual page for a list of these requirements.