Skip to content

Commit

Permalink
Avoid PHPCS errors using functionality for PHP 7.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverharrison committed Oct 20, 2022
1 parent 51f25d1 commit 82cc353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
<!-- Use WordPress PHP Compatibility. -->
<rule ref="PHPCompatibilityWP"/>

<!-- WordPress Core currently supports PHP 5.6+. -->
<config name="testVersion" value="5.6-"/>
<!-- WordPress Core currently supports PHP 7.4+. -->
<config name="testVersion" value="7.4-"/>

<!-- Only sniff PHP files. -->
<arg name="extensions" value="php"/>
Expand Down

0 comments on commit 82cc353

Please sign in to comment.