Skip to content

Commit

Permalink
Bump PHP test version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thefrosty committed Apr 24, 2024
1 parent 4ab6370 commit 186d974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<!-- For CI, don't fail on warnings -->
<config name="ignore_warnings_on_exit" value="1"/>
<!-- Sets the minimum supported WP version -->
<config name="minimum_supported_wp_version" value="6.1"/>
<!-- Check for cross-version support for PHP 8.0 and higher. -->
<config name="testVersion" value="8.0-"/>
<config name="minimum_supported_wp_version" value="6.4"/>
<!-- Check for cross-version support for PHP 8.1 and higher. -->
<config name="testVersion" value="8.1-"/>

<rule ref="WordPress-Docs">
<exclude name="Generic.Commenting.DocComment.SpacingBeforeTags"/>
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</php>
<testsuites>
<testsuite name="unit">
<directory phpVersion="8.0" phpVersionOperator=">=" suffix="Test.php">./tests/unit</directory>
<directory phpVersion="8.1" phpVersionOperator=">=" suffix="Test.php">./tests/unit</directory>
</testsuite>
</testsuites>

Expand Down

0 comments on commit 186d974

Please sign in to comment.