Skip to content

Commit db36274

Browse files
committed
4.0 | Wiki/Requirements: minimum PHP version is now 7.2.0
Includes some readability updates.
1 parent 93f71d1 commit db36274

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wiki/Requirements.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
PHP_CodeSniffer requires PHP version 5.4.0 or greater, although 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.
1+
PHP_CodeSniffer 4.x requires PHP 7.2.0 or greater.
2+
_Prior to PHP_CodeSniffer 4.0.0, the minimum PHP requirement was 5.4.0._
23

34
Additionally, PHP_CodeSniffer requires the following PHP extensions to be enabled:
45
- Tokenizer: used by the core tokenizer to process PHP files
56
- SimpleXML: used to process ruleset XML files
67
- XMLWriter: used to create some report formats
8+
9+
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.

0 commit comments

Comments
 (0)