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
2 changes: 1 addition & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<rule ref="Generic.ControlStructures.DisallowYodaConditions"/>

<!-- Check code for cross-version PHP compatibility. -->
<config name="testVersion" value="5.4-"/>
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibility">
<!-- Exclude PHP constants back-filled by PHPCS. -->
<exclude name="PHPCompatibility.Constants.NewConstants.t_finallyFound"/>
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ The rulesets use rules from the [WordPress Coding Standards](https://github.com/

## Minimal requirements

* PHP 5.4+
* [PHPCS 3.13.2+](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
* [PHPCSUtils 1.1.0+](https://github.com/PHPCSStandards/PHPCSUtils)
* [PHPCSExtra 1.4.0+](https://github.com/PHPCSStandards/PHPCSExtra)
* [WPCS 3.1.0+](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/releases)
* [VariableAnalysis 2.12.0+](https://github.com/sirbrillig/phpcs-variable-analysis/releases)
* PHP 7.4+
* [PHPCS 3.13.5+](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
* [PHPCSUtils 1.2.3+](https://github.com/PHPCSStandards/PHPCSUtils)
* [PHPCSExtra 1.5.1+](https://github.com/PHPCSStandards/PHPCSExtra)
* [WPCS 3.4.1+](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/releases)
* [VariableAnalysis 2.13.0+](https://github.com/sirbrillig/phpcs-variable-analysis/releases)

## Installation

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
],
"require": {
"php": ">=7.4",
"phpcsstandards/phpcsextra": "^1.4.0",
"phpcsstandards/phpcsutils": "^1.1.0",
"sirbrillig/phpcs-variable-analysis": "^2.12.0",
"squizlabs/php_codesniffer": "^3.13.2",
"wp-coding-standards/wpcs": "^3.2.0"
"phpcsstandards/phpcsextra": "^1.5.1",
"phpcsstandards/phpcsutils": "^1.2.3",
"sirbrillig/phpcs-variable-analysis": "^2.13.0",
"squizlabs/php_codesniffer": "^3.13.5",
"wp-coding-standards/wpcs": "^3.4.1"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.4.0",
Expand Down